This project is archived and is in readonly mode.
The connection setup can be optimized
Reported by Daniele Varrazzo | 2010-11-13 20:40:11 UTC
We can drop two roundtrip with the server per connection:
-
SET DATESTYLE TO 'ISO'is retundant if we detect that theDateStylesetting is as we like, and we can query it withPQparameterStatuswithout a roundtrip. -
client_encodingcan be read fromPQparameterStatusas well, no need forSHOW.
Comments and changes to this ticket
-

Daniele Varrazzo 2010-11-17 03:00:01 UTC
- State changed from open to resolved
Done in branch
no-p2
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
WARNING: the informations in this tracker are archived. Please submit new tickets or comments to the new tracker.
Psycopg is the most used PostgreSQL adapter for the Python programming language. At the core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.