Closed
Description
Every connection on release calls reset, which results in evaluation of this statements (for postgres caps):
SELECT pg_advisory_unlock_all();
CLOSE ALL;
UNLISTEN *;
RESET ALL;
So if you use postgres your caps predefined. But not every project uses this capabilities, so this calls looks like overhead.
Maybe add interface to specify server caps explicitly, this will reduce reset statements to only useful ones or even noop at all.
Something like pass server caps in init of connection or/and connection pool.
Metadata
Metadata
Assignees
Labels
No labels