Skip to content

[PDO/PGSQL] Add an option that disables sending DEALLOCATE #12940

Closed
@lucaspouzac

Description

@lucaspouzac

Description

As explained on pgbouncer issue #991, it's not possible to use prepared statement cache of pgbouncer with PDO, because PDO send DEALLOCATE pdo_stmt_..

Adding an option to disable DEALLOCATE sending would allow pgbouncer to be used in transaction mode with its prepared statement cache.

May be the opportunity to use PQclosePrepared instead of DEALLOCATE. (Note: This will only be released in libpq 17) ?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions