Skip to content

Commit 3412aab

Browse files
committed
...
1 parent b3efdb2 commit 3412aab

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/dialect/postgres/postgres-driver.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ export class PostgresDriver implements Driver {
4646

4747
if (!connection) {
4848
connection = new PostgresConnection(client, {
49-
acquireConnection: () => this.acquireConnection(),
5049
cursor: this.#config.cursor ?? null,
5150
})
5251
this.#connections.set(client, connection)
@@ -148,12 +147,6 @@ export class PostgresDriver implements Driver {
148147
}
149148

150149
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>
157150
cursor: PostgresCursorConstructor | null
158151
}
159152

0 commit comments

Comments
 (0)