mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-06-20 21:13:26 +03:00
Preparing release 2.0.9
This commit is contained in:
parent
41dd7a1095
commit
a6dff6c82a
14
NEWS
14
NEWS
|
@ -4,6 +4,20 @@ What's new in psycopg 2.0.9
|
||||||
* New features:
|
* New features:
|
||||||
- COPY TO/COPY FROM queries now can be of any size and psycopg will
|
- COPY TO/COPY FROM queries now can be of any size and psycopg will
|
||||||
correctly quote separators.
|
correctly quote separators.
|
||||||
|
- float values Inf and NaN are now correctly handled and can
|
||||||
|
round-trip to the database.
|
||||||
|
- executemany() now return the numer of total INSERTed or UPDATEd
|
||||||
|
rows. Note that, as it has always been, executemany() should not
|
||||||
|
be used to execute multiple SELECT statements and while it will
|
||||||
|
execute the statements without any problem, it will return the
|
||||||
|
wrong value.
|
||||||
|
- copy_from() and copy_to() can now use quoted separators.
|
||||||
|
- "import psycopg2.extras" to get UUID support.
|
||||||
|
|
||||||
|
* Bug fixes:
|
||||||
|
- register_type() now works on connection and cursor subclasses.
|
||||||
|
- fixed a memory leak when using lobjects.
|
||||||
|
|
||||||
|
|
||||||
What's new in psycopg 2.0.8
|
What's new in psycopg 2.0.8
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
# See the LICENSE file for details.
|
# See the LICENSE file for details.
|
||||||
|
|
||||||
|
|
||||||
ALLOWED_PSYCOPG_VERSIONS = ('2.0.7','2.0.8')
|
ALLOWED_PSYCOPG_VERSIONS = ('2.0.7','2.0.8','2.0.9')
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[build_ext]
|
[build_ext]
|
||||||
define=PSYCOPG_EXTENSIONS,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3,PSYCOPG_DEBUG
|
define=PSYCOPG_EXTENSIONS,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
|
||||||
|
|
||||||
# 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)
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -54,7 +54,7 @@ from distutils.command.build_ext import build_ext
|
||||||
from distutils.sysconfig import get_python_inc
|
from distutils.sysconfig import get_python_inc
|
||||||
from distutils.ccompiler import get_default_compiler
|
from distutils.ccompiler import get_default_compiler
|
||||||
|
|
||||||
PSYCOPG_VERSION = '2.0.8'
|
PSYCOPG_VERSION = '2.0.9'
|
||||||
version_flags = ['dt', 'dec']
|
version_flags = ['dt', 'dec']
|
||||||
|
|
||||||
PLATFORM_IS_WINDOWS = sys.platform.lower().startswith('win')
|
PLATFORM_IS_WINDOWS = sys.platform.lower().startswith('win')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user