psycopg release notes#
Current release#
Psycopg 3.0.18#
Psycopg 3.0.17#
Psycopg 3.0.16#
Psycopg 3.0.15#
Fix wrong escaping of unprintable chars in COPY (nonetheless correctly interpreted by PostgreSQL).
Restore the connection to usable state after an error in
stream().Raise
DataErrorinstead ofOverflowErrorloading binary intervals out-of-range.Distribute
manylinux2014wheel packages (ticket #124).
Psycopg 3.0.14#
Psycopg 3.0.13#
Fix
Cursor.stream()slowness (ticket #286).Fix oid for lists of integers, which might cause the server choosing bad plans (ticket #293).
Make
Connection.cancel()on a closed connection a no-op instead of an error.
Psycopg 3.0.12#
Allow
bytearray/memoryviewdata too asCopy.write()input (ticket #254).Fix dumping
IntEnumin text mode, Python implementation.
Psycopg 3.0.11#
Psycopg 3.0.10#
Leave the connection in working state after interrupting a query with Ctrl-C (ticket #231).
Fix
Cursor.descriptionafter a COPY … TO STDOUT operation (ticket #235).Fix building on FreeBSD and likely other BSD flavours (ticket #241).
Psycopg 3.0.9#
Set
Error.sqlstatewhen an unknown code is received (ticket #225).Add the
tzdatapackage as a dependency on Windows in order to handle time zones (ticket #223).
Psycopg 3.0.8#
Psycopg 3.0.7#
Fix crash in
executemany()with no input sequence (ticket #179).Fix wrong
rowcountafter anexecutemany()returning no rows (ticket #178).
Psycopg 3.0.6#
Allow to use
Cursor.descriptionif the connection is closed (ticket #172).Don’t raise exceptions on
ServerCursor.close()if the connection is closed (ticket #173).Fail on
Connection.cursor()if the connection is closed (ticket #174).Raise
ProgrammingErrorif out-of-order exit from transaction contexts is detected (tickets #176, #177).Add
CHECK_STANDBYvalue toConnStatusenum.
Psycopg 3.0.5#
Psycopg 3.0.4#
Allow to use the module with strict strings comparison (ticket #147).
Fix segfault on Python 3.6 running in
-W errormode, related tobackport.zoneinfoticket #109.Build binary package with libpq versions not affected by CVE-2021-23222 (ticket #149).
Psycopg 3.0.3#
Psycopg 3.0.2#
Fix type hint for
sql.SQL.join()(ticket #127).Fix type hint for
Connection.notifies()(ticket #128).Fix call to
MultiRange.__setitem__()with a non-iterable value and a slice, now raising aTypeError(ticket #129).Fix disable cursors methods after close() (ticket #125).
Psycopg 3.0.1#
Fix use of the wrong dumper reusing cursors with the same query but different parameter types (ticket #112).
Psycopg 3.0#
First stable release. Changed from 3.0b1:
Add Geometry adaptation using Shapely (ticket #80).
Add Multirange adaptation (ticket #75).
Add
pq.__build_version__constant.Don’t use the extended protocol with COPY, (tickets #78, #82).
Fix selection of dumper by oid after
set_types().Drop
Connection.client_encoding. UseConnectionInfo.encodingto read it, and aSETstatement to change it.Add binary packages for Python 3.10 (ticket #103).
Psycopg 3.0b1#
First public release on PyPI.