New Features
-
Implement
as_dict()
method forPostgresMessage
.
(by @vitaly-burovoy in 90725f1) -
Add API for receiving log messages
connection.add_log_listener()
.
(by @vitaly-burovoy and @1st1 in 1b1893d and f072f88 for #144) -
Add support for "tuple" exchange format for codec overrides.
(by @elprans in 0453243 and d27dda7) -
Implement binary format codec for numeric type.
(by @elprans in a5413eb for #157)
Bug Fixes
-
Fix boundary checks for integers.
(by @vitaly-burovoy in e082910 and dfcf135) -
Fix handling of
NULL
s in copy_records_to_table().
(by @elprans in 991b1ae for #153) -
Raise an error when a binary
COPY FROM
is attempted w/o appropriate codec.
(by @elprans in 7aac14e for #157) -
Fix
Record.items()
to support duplicate keys. See #28 for details.
(by @1st1 in 39b390c for #28) -
Fix
Record.keys()
to correctly return duplicate keys. See #28.
(by @1st1 in b06114d for #28) -
Call notifications listeners using
loop.call_soon()
.
(by @1st1 in 83d08bd) -
Make
PoolConnectionProxy
more dynamic. Fixes #155.
(by @1st1 in 6ca1f28 for #155) -
Make sure
set_type_codec()
overrides core codec for all formats.
(by @elprans in 9c32b86 for #140) -
New severity "V" field as "severity_en" attribute.
(by @vitaly-burovoy in 35bce5a) -
Make interval decoding logic match that of psycopg2.
(by @elprans in 6b48443 for #150)