There was an error while loading. Please reload this page.
1 parent b3efdb2 commit 3412aabCopy full SHA for 3412aab
1 file changed
src/dialect/postgres/postgres-driver.ts
@@ -46,7 +46,6 @@ export class PostgresDriver implements Driver {
46
47
if (!connection) {
48
connection = new PostgresConnection(client, {
49
- acquireConnection: () => this.acquireConnection(),
50
cursor: this.#config.cursor ?? null,
51
})
52
this.#connections.set(client, connection)
@@ -148,12 +147,6 @@ export class PostgresDriver implements Driver {
148
147
}
149
150
interface PostgresConnectionOptions {
151
- /**
152
- * A function that acquires a new connection from the pool.
153
- *
154
- * The connection will be used to cancel running queries from another process.
155
- */
156
- acquireConnection: () => Promise<DatabaseConnection>
157
cursor: PostgresCursorConstructor | null
158
159
0 commit comments