mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-10 16:22:33 +03:00
* setup.cfg (define): remove PSYCOPG_DISPLAY_SIZE from default
list of defines, as discussed on mailing list. It slows down queries with very little benefit.
This commit is contained in:
parent
864d107325
commit
9fa039326c
|
@ -1,5 +1,9 @@
|
||||||
2008-01-21 James Henstridge <james@jamesh.id.au>
|
2008-01-21 James Henstridge <james@jamesh.id.au>
|
||||||
|
|
||||||
|
* setup.cfg (define): remove PSYCOPG_DISPLAY_SIZE from default
|
||||||
|
list of defines, as discussed on mailing list. It slows down
|
||||||
|
queries with very little benefit.
|
||||||
|
|
||||||
* psycypg/*.h: apply HIDDEN to all global variables and functions
|
* psycypg/*.h: apply HIDDEN to all global variables and functions
|
||||||
that should not be exported from the module. This results in a 5%
|
that should not be exported from the module. This results in a 5%
|
||||||
reduction in code size and shortens the dynamic symbol table.
|
reduction in code size and shortens the dynamic symbol table.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[build_ext]
|
[build_ext]
|
||||||
define=PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3,PSYCOPG_DEBUG
|
define=PSYCOPG_EXTENSIONS,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3,PSYCOPG_DEBUG
|
||||||
# PSYCOPG_EXTENSIONS enables extensions to PEP-249 (you really want this)
|
# PSYCOPG_EXTENSIONS enables extensions to PEP-249 (you really want this)
|
||||||
# PSYCOPG_DISPLAY_SIZE enable display size calculation (a little slower)
|
# PSYCOPG_DISPLAY_SIZE enable display size calculation (a little slower)
|
||||||
# HAVE_PQFREEMEM should be defined on PostgreSQL >= 7.4
|
# HAVE_PQFREEMEM should be defined on PostgreSQL >= 7.4
|
||||||
|
|
Loading…
Reference in New Issue
Block a user