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
Daniele Varrazzo
0578c1ab92
Mention #928 fixed
2019-06-07 18:18:48 +01:00
Daniele Varrazzo
b79895186c
Added news entry about smart replication feedback
2019-05-12 23:48:51 +09:00
Daniele Varrazzo
4821a6294e
Merge branch 'openssl-1.1-windows'
2019-04-14 14:49:41 +01:00
Daniele Varrazzo
26b61e809f
Mention building openssl 1.1 on windows in news file
...
Close #836 .
2019-04-11 01:42:54 +01:00
Daniele Varrazzo
14bfc54344
Mention fix to repeated fields in RealDictCursor in news file
2019-04-11 00:54:55 +01:00
Daniele Varrazzo
3357477fde
Fixed debug title level in news
2019-04-06 20:49:00 +01:00
Daniele Varrazzo
d2dce4dd17
Fixed link to RealDictRow from last news
2019-04-06 20:22:03 +01:00
Daniele Varrazzo
cc815e8e8d
RealDictRow inherits from OrderedDict
...
Now its state is unmodified, so apart from special-casing creation
and initial population can work unmodified, and all the desired
properties just work (modifiability, picklability...)
Close #886 .
2019-04-06 19:43:31 +01:00
Daniele Varrazzo
21d16b6f67
Fixed RealDictCursor.pop()
...
Addresses #886 , but there might be something else broken there.
2019-04-06 19:43:09 +01:00
Daniele Varrazzo
755a128ffb
Handle ok poll() without a cursor having executed queries
...
Close #887
2019-04-05 18:04:55 +01:00
Daniele Varrazzo
813ca30953
Fixed notice about new wal_end attribute being on the cursor
2019-04-01 10:40:06 +01:00
Daniele Varrazzo
b8bf6d9917
Added news entry about ReplicationMessage.wal_end
2019-03-30 21:23:20 +00:00
Daniele Varrazzo
f8f5a77838
Mention closed #829 in NEWS file
2019-03-18 01:51:29 +00:00
Daniele Varrazzo
734845b79a
Added pq_get_result_async() replaced pg_get_last_result()
...
The new function keeps together PQconsumeInput() with PQisBusy(), in
order to handle the condition in which not all the results of a sequence
of statements arrive in the same roundtrip.
Added pointer to a PGresult to the connection to keep the state across
async communication: it can probably be used to simplify other code
paths where a result is brought forward manually.
Close #802
Close #855
Close #856
2019-03-17 01:20:06 +00:00
Jon Dufresne
432fdd7d32
Removed support for mxDateTime as the default date and time adapter
...
The use_pydatetime configuration option has been removed. Now, always
default to Python's builtin datetime. mxDatetime support continues to be
available as an alternative to Python's builtin datetime.
2019-03-16 16:36:49 +00:00
Daniele Varrazzo
f2654d3573
Advertise openssl 1.0.2r and libpq 11.2 in wheels
2019-03-13 11:12:17 +00:00
Daniele Varrazzo
80b7b845d2
Added docs about pgconn_ptr, pgresult_ptr
2019-02-16 18:12:52 +01:00
Daniele Varrazzo
1dd8c7435f
Mention binary packages no longer installed by default in NEWS
...
Also fixed an unrelated typo.
[skip ci]
2019-02-16 16:10:03 +01:00
Daniele Varrazzo
805527fcd6
Added caching of types generated by NamedTupleCursor
...
see #838
2019-02-02 14:22:25 +00:00
Daniele Varrazzo
4298718978
Dropped PSYCOPG_DISPLAY_SIZE build parameter
...
Big and complex _pq_fetch_tuples simplified by moving per-column
calculation to a separate function.
2019-01-25 17:31:39 +00:00
Daniele Varrazzo
63040e5134
Mention new OpenSSL version in wheel package
2019-01-22 12:25:03 +00:00
Daniele Varrazzo
c34c99aa7f
Mention cursor locks cleanup in news file
2019-01-22 11:20:36 +00:00
Daniele Varrazzo
49777de74c
Added documentation for BYTES caster
2019-01-18 16:15:15 +00:00
Daniele Varrazzo
ddcf808d56
Couple of objects into NEWS entries converted into links
2018-12-27 15:04:43 +01:00
Daniele Varrazzo
b26a0b149d
Added # char to a few issues in news
...
Just a formatting thing #ocd #youdontcare #really.
2018-12-27 15:01:45 +01:00
Daniele Varrazzo
f3695e36c7
Merge remote-tracking branch 'eternalflow/execute-values-returning-clause-support'
2018-12-27 14:53:12 +01:00
Daniele Varrazzo
7c8d2f484e
Mention execute_values() fetch in news
2018-12-27 14:51:18 +01:00
Jon Dufresne
a1fdaebc30
Dropped deprecated PersistentConnectionPool
...
This class was deprecated in
27cd6c4880
(Dec 2, 2012), which was first
included in release 2.5. Enough time has passed for library uses to find
an alternative solution.
This class was untested.
2018-12-04 06:32:00 -08:00
Daniele Varrazzo
73a680f45d
Convert int subclasses to long before adapting
...
Fixes adaptation of int/long subclasses whose str() is not the number,
such IntEnum
Close #591
Note that I thought it would have needed a new adapter, so I considered
it a new feature. But it is more a shortcoming of the int adapter
failing to do something reasonable (poor Liskov, always mistreated) so I
may actually backport it if there is a new 2.7 release.
2018-11-16 18:16:03 +00:00
Daniele Varrazzo
654be4784c
Dropped examples dir (and some leftover reference to the sandbox dir)
...
Close #645 .
2018-11-16 17:06:06 +00:00
Daniele Varrazzo
f9d6430ae4
Mentioning binary packages fixes in news file
2018-11-10 23:48:47 +00:00
Daniele Varrazzo
3279ff7507
Mention get_native_connection()
in the news file
2018-11-09 11:40:17 +00:00
Daniele Varrazzo
991b0e02c5
Fixed NEWS file after I actually re-read it for release.
2018-11-09 11:33:03 +00:00
Daniele Varrazzo
a83696fc50
Fixed adaptation of lists of empty lists
...
...somehow. Postgres doesn't support them and converts them into a
simple empty array. However this is not really our concern: the syntax
we return is valid.
Close #788
2018-10-30 01:48:51 +00:00
Daniele Varrazzo
8fb0f694f7
Don't barf on Composite passed to execute_values()
...
Close #794
2018-10-23 01:57:48 +01:00
Daniele Varrazzo
fae4284a64
Minimal formatting tweak to last news
2018-10-15 01:36:55 +01:00
Daniele Varrazzo
0236c68da9
Merge branch 'connection-info'
2018-10-15 01:24:00 +01:00
Daniele Varrazzo
c567556d71
Fixed NEWS file to mention the connection.info object
2018-10-15 01:23:51 +01:00
Daniele Varrazzo
b205764fdd
Merge branch 'master' into errors-module
2018-10-15 00:58:32 +01:00
Daniele Varrazzo
5da968d6f6
Added documentation for the errors module
2018-10-15 00:48:44 +01:00
Daniele Varrazzo
7a5edff6c6
errorcodes map update to PostgreSQL 11
2018-10-14 22:57:48 +01:00
Daniele Varrazzo
d29aa1c437
Fixed refcount in connection's readonly and deferrable getters
...
Close #790
2018-10-12 23:32:13 +01:00
Daniele Varrazzo
6b3d3604bf
Added docs for the Column object
2018-10-11 04:27:42 +01:00
Daniele Varrazzo
c314512115
Fixed infinite loop in pq_get_last_result after COPY
...
There will be an error downstream but we have to get out of this
function first.
Close #781
2018-10-10 23:57:34 +01:00
Daniele Varrazzo
9148157697
Merge branch 'master' into https
2018-10-10 22:07:33 +01:00
Daniele Varrazzo
cd9d74c462
Merge branch 'conn-get-host'
2018-10-10 22:03:36 +01:00
Daniele Varrazzo
382eeccab8
Small tweaks to connection.host docs
2018-10-10 22:02:20 +01:00
Marco De Paoli
1c553bb703
Added connection.host
...
Return the server host name of the current connect.
2018-10-06 15:19:01 +02:00
Daniele Varrazzo
4e0b2ec9c9
Added Diagnostics.severity_nonlocalized attribute
...
Close #783 .
2018-10-04 16:13:46 +01:00
Daniele Varrazzo
4aa02b7855
sql.Identifier can wrap a sequence of strings to represent qualified names
...
Close #732 .
2018-10-04 12:46:10 +01:00
Daniele Varrazzo
81d6f7a7ca
Mention the better str(Range) in the docs.
2018-10-04 11:57:31 +01:00
Jon Dufresne
b07e34e0b8
Prefer https:// URLs when available
2018-09-22 19:02:33 -07:00
Daniele Varrazzo
0eaa0c9d4e
Mention FreeBSD build fixed in news file
2018-09-07 23:57:34 +01:00
Daniele Varrazzo
6d8f4f9f0d
Close named cursor if exist, even if we didn't run execute
...
Close #746
2018-07-24 21:16:36 +01:00
Daniele Varrazzo
6becf0ef55
Note the upgrade in wheel dependencies in NEWS file
2018-05-23 21:51:49 +01:00
Daniele Varrazzo
0bb7d0db48
DictCursor and RealDictCursor rows maintain columns order
...
Close #177 .
2018-05-21 03:14:08 +01:00
Daniele Varrazzo
e8a831dda2
Merge branch 'master' into drop-2to3
2018-05-20 23:56:29 +01:00
Daniele Varrazzo
9eb3e0cb79
encrypt_password() reported in the news file
2018-05-20 22:31:22 +01:00
Daniele Varrazzo
3f0a7f9af4
Added license to the docs
...
Includes other docs improvements, such as the ones proposed in #711 .
2018-05-20 17:03:08 +01:00
Daniele Varrazzo
c4da939909
Don't raise an exception closing an unused named cursor
...
Close #716
2018-05-20 14:00:09 +01:00
Daniele Varrazzo
098c00d73e
Merge remote-tracking branch 'nested-array-nulls'
2018-05-20 12:51:13 +01:00
Daniele Varrazzo
bc84b6233e
Allow non-ascii chars in namedtuple fields
...
They can be valid chars in Python 3. Or maybe not? In which case Python
will throw an exception, but that's fine.
Fix regression introduced fixing #211
2018-05-18 12:15:50 +01:00
Daniele Varrazzo
b5e4a040f8
Fixed adaptation of arrays of arrays of nulls
...
Close #325 , close #706 .
2018-05-18 12:10:20 +01:00
Daniele Varrazzo
ea923b63a4
Allow strings subclasses in ensure_bytes
...
Fix #679
2018-02-21 10:27:28 +00:00
Daniele Varrazzo
ede418a009
Report MSYS2 build probably fixed
2018-02-19 13:53:50 +00:00
Daniele Varrazzo
8670287928
Added Solaris 11 fix to news file
2018-02-19 11:43:37 +00:00
Daniele Varrazzo
c52e49a9da
Report Python 2.6 wheels no more available
...
[skip ci]
2018-01-29 12:58:28 +00:00
Daniele Varrazzo
ddb87b7727
Convert fields names into valid Python identifiers in NamedTupleCursor
...
Close #211 .
2018-01-29 03:30:46 +00:00