Daniele Varrazzo
898cbff5a6
Build binary packages against PosgtgreSQL 14.1 lipq
...
Close #1388 .
2021-11-11 21:11:59 +01:00
Daniele Varrazzo
7dd193a7f7
errorcodes map and errors classes updated to PostgreSQL 14.
2021-11-11 20:08:39 +01:00
Daniele Varrazzo
1a0c02a6f4
Raise an error for dates > 10K instead of returning Y9999
...
Close #1307 .
2021-11-11 20:01:14 +01:00
Daniele Varrazzo
dd2ff2af56
Fix regression with named sql.Placeholder
...
Close #1291 .
2021-06-16 23:56:05 +01:00
Daniele Varrazzo
bab166e2c1
Fix spelling in news file
2021-06-16 17:08:06 +01:00
Daniele Varrazzo
9e5847222d
Upgrade libpq to 13.3 and libssl to 1.1.1k on windows too
2021-06-15 18:42:25 +01:00
Daniele Varrazzo
cefb818105
Build manylinux2014 packages for i686/x86_64 platforms
...
The manylinux_2_24 tag leaves too many users without usable packages.
Using this tag requires to build libraries too or a libssh too old will
be used, with the segfault risks seen in the past.
OTOH building all the libraries on arm/ppc platforms proves very time
consuming and requires further tooling than what available in the image.
Because these packages are new it seems ok to use the manylinux_2_24
tag and use the package versions of libpq/libssl.
2021-06-15 18:42:25 +01:00
Daniele Varrazzo
1d3d5e905f
Deprecate the psycopg2.tz module
...
Don't use its objects anymore in the tests (except for the tests for the
objects themselves).
2021-06-15 00:22:54 +01:00
Daniele Varrazzo
f28502663f
Use datetime.timezone as default tzinfo_factory.
2021-06-15 00:17:14 +01:00
Daniele Varrazzo
2eac70786e
Drop support for mx.DateTime objects
...
They are Python 2 only.
2021-06-14 23:05:48 +01:00
Daniele Varrazzo
476a969bd8
Handle correctly timestamps with fractions of minute in the timezone offset
...
Close #1272 .
2021-06-14 22:25:02 +01:00
Daniele Varrazzo
a9db3228d3
One line about the new packages in the news file
2021-05-26 17:28:14 +01:00
Daniele Varrazzo
52cd94442c
Add include and lib dirs from libpq --cppflags, --ldflags
...
They seem the right thing to fix MacOS build woes.
Inspired to #935 , might close #1200 .
2021-05-26 17:28:14 +01:00
Daniele Varrazzo
8a2deb39ed
Escape table and column names in cursor.copy_from() and .copy_to()
2021-05-25 11:50:23 +01:00
Daniele Varrazzo
e5ad0ab2d9
'with' starts a transaction even on autocommit connections
...
Close #941
2021-05-24 14:13:19 +02:00
Daniele Varrazzo
d8e6426433
Fix formatting of last entries in the NEWS file
2021-05-24 14:11:06 +02:00
Daniele Varrazzo
8f40c648af
Merge branch 'master' into rm-2.7
2021-05-20 16:36:55 +02:00
Daniele Varrazzo
3487f627e2
Mention sqlstate reinit in NEWS file
2021-05-20 16:16:51 +02:00
Daniele Varrazzo
0f457a01d9
Fix NEWS typo
2021-05-20 13:12:46 +02:00
Daniele Varrazzo
8ea5d0c0b8
Fix segfault initialising Column object manually
...
Close #1252
2021-05-20 13:10:59 +02:00
Daniele Varrazzo
391386cfb9
Accept no param in connect()
...
More friendly towards ``connect(**parse_dsn())``, and what psycopg3 does.
Close #1250
2021-05-20 13:10:53 +02:00
Hugo van Kemenade
8830e30f73
Merge branch 'master' into rm-2.7
2020-11-18 18:10:16 +02:00
Daniele Varrazzo
e85ef2298b
Merge branch 'connection_exception'
2020-11-17 22:45:52 +00:00
Hugo van Kemenade
d956eaa3b1
Drop support for EOL Python 2.7
2020-11-17 22:53:44 +02:00
Hugo van Kemenade
694a20fb95
Drop support for EOL Python 3.5 ( #1197 )
2020-11-17 20:17:12 +00:00
Justas Sadzevicius
cdca0a20e0
Classify connection exceptions as operational errors to better conform with PEP 249
2020-11-17 18:02:06 +02:00
Hugo
d04a420bce
Drop support for EOL Python 3.4
2020-11-10 08:44:42 +02:00
Daniele Varrazzo
dc007e790a
Metion ARM packages in news file
2020-09-05 22:07:26 +01:00
Daniele Varrazzo
dec28a21ac
'cursor.query' reports the query of the last COPY opearation too
...
Close #1141 .
2020-09-05 21:47:35 +01:00
Daniele Varrazzo
dd1724c447
Errors mapping updated to PostgreSQL 13
2020-09-05 20:26:19 +01:00
Daniele Varrazzo
c203d681c4
Added duplicate values to errcodes module
...
Close #1133
2020-09-05 20:26:19 +01:00
Daniele Varrazzo
9387bd3c09
Mention building wheels package with OpenSSL 1.1.1g in news file
2020-09-05 18:04:45 +01:00
Daniele Varrazzo
a75afe4d83
Mention fixing mx search in news file
...
Close #996 .
2020-05-06 14:46:58 +12:00
Daniele Varrazzo
a35549d0ad
Mention ticket #1101 closed in news file
2020-05-04 23:52:58 +12:00
Daniele Varrazzo
f2852a520a
Merge branch 'add-aix-support'
2020-04-06 16:49:42 +12:00
Daniele Varrazzo
012a20b010
Mention AIX support in NEWS file
2020-04-06 16:46:44 +12:00
Daniele Varrazzo
62743c3be1
Fixed copy() on DictRow
...
Close #1073 .
2020-04-06 14:10:02 +12:00
Daniele Varrazzo
054123254e
Column objects can be sliced
...
Close #1034 .
2020-03-11 10:50:56 +13:00
Daniele Varrazzo
497ad5c7c0
Mention LoggingAdapter in news
2020-03-08 11:22:43 +00:00
Daniele Varrazzo
c20c13c493
Fixed use of cursor_factory attribute in connecion subclasses
...
Close #1019
2019-12-09 11:11:39 +00:00
Daniele Varrazzo
16c07ba9c4
Mention the library versions packaged in the 2.8.4 wheel in the NEWS file
2019-10-20 01:19:47 +01:00
Daniele Varrazzo
cb7109dfa9
Merge branch 'fix-951'
2019-10-19 18:38:56 +01:00
Daniele Varrazzo
eb893e65f0
Mention fixing time.h include in NEWS
...
Mostly to remember why we did it.
2019-10-19 18:11:10 +01:00
Daniele Varrazzo
b0b09cbb24
Merge branch 'bugfix/940'
2019-10-19 18:04:02 +01:00
Daniele Varrazzo
63352d7da0
Mention bug 940 fixed in NEWS file
2019-10-19 18:02:32 +01:00
Daniele Varrazzo
b2a09fb404
Merge branch 'pg12'
2019-10-19 16:09:41 +02:00
Daniele Varrazzo
500f438033
Support for Python 3.8 mentioned in news file
2019-10-19 16:07:35 +02:00
Daniele Varrazzo
d5c7ec7ae8
Added Postgres 12 errors
2019-10-19 15:22:48 +02:00
Daniele Varrazzo
80df0553a6
Fixed handling large Oid values
...
Oid is defined as unsigned 32. On some Python implementations (probably
the ones where maxint = 2 ** 31) this can cause int overflow for large
values (see #961 ). On my 64 box it doesn't seem the case.
Oid handling was sloppy here and there (messages, casts...): trying to
use uint everywhere, and added a couple of helper macros to treat Oid
consistently.
Close #961 .
2019-09-04 12:30:18 +01:00
Daniele Varrazzo
6e972200a3
Mention ctrl-c swallowing fixed in news file
2019-06-24 12:13:47 +01:00