Commit Graph

  • fabf35bf12 Accepting request 1334421 from devel:languages:python factory Ana Guerrero 2026-02-23 15:12:51 +00:00
  • 4dc05edff6 - update to 3.3.3: * Retain Error.pgconn when raising a single exception for multiple connection attempt errors * Return a proper error when server sends ErrorResponse for a Sync after a Parse Dirk Mueller 2026-02-23 09:14:47 +00:00
  • 4c882e1d54 Accepting request 1329586 from devel:languages:python Ana Guerrero 2026-01-28 14:13:02 +00:00
  • a21cb669f7 - update to 3.3.2: * Add :ref:template strings queries <template-strings> (🎫#1054). * More flexible :ref:composite adaptation<adapt-composite>: it is now possible to adapt Python objects to PostgreSQL composites and back even if they are not sequences or if they take keyword arguments (🎫#932, 🎫#1202). * Cursors are now iterators, not just iterables. This means you can call next(cur) or anext(cur), which is useful as a :ref:type-safe expression <typing-fetchone> (🎫#1064). * Add Cursor.set_result() and Cursor.results() to move across the result sets of queries executed though ~Cursor.executemany() or ~Cursor.execute() with multiple statements (🎟️#1080, #1170). * Add :ref:transaction-status to report the status during and after a ~Connection.transaction() block (🎫#969). * Allow to change loaders using ~adapt.AdaptersMap.register_loader() on Cursor.adapters after a query result has been already returned (🎫#884). * Add pq.PGconn.used_gssapi attribute and Capabilities.has_used_gssapi() function (🎫#1138). * Add ConnectionInfo.full_protocol_version attribute, Capabilities.has_full_protocol_version() function (🎫#1079). * Disable default GSSAPI preferential connection in the binary package (🎫#1136). Warning Please explicitly set the gssencmode_ connection parameter or the :envvar:PGGSSENCMODE environment variable to interact reliably with the GSSAPI. Dirk Mueller 2026-01-27 07:37:33 +00:00
  • 4a61d6acda Accepting request 1318340 from devel:languages:python Ana Guerrero 2025-11-18 14:39:21 +00:00
  • d87e13650c OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg?expand=0&rev=25 Dirk Mueller 2025-11-17 21:50:24 +00:00
  • 0f3ef196b5 - update to 3.2.12: * Allow copy to pass different types per column, as long as the database can convert them. Regression introduced in 3.2.11 * Fix spurious readiness flags in some of the wait functions * Fix high CPU usage using the wait_c function on Windows * Fix bad data on error in binary copy (ticket #1147). * Respect Copy.set_types() in TEXT copy in C version, consistently with the Python version (ticket #1153). * Don’t raise warning, and don’t leak resources, if a builtin function is used as JSON dumper/loader function (ticket #1165). * Improve performance of Python conversion on results loading (ticket #1155). Dirk Mueller 2025-11-11 15:44:03 +00:00
  • 29b434bd22 Accepting request 1308068 from devel:languages:python Ana Guerrero 2025-09-30 15:41:30 +00:00
  • 3f3ea59b85 - update to 3.2.10: * Fix TypeError shadowing CancelledError upon task cancellation during pipeline execution (ticket #1005). * Fix memory leak when lambda/local functions are used as argument for set_json_dumps(), set_json_loads() (ticket #1108). * Fix coordination of executemany() with other concurrent operations on other cursors (ticket #1130). * Fix leak receiving notifications if the notifies() generator is not called (ticket #1091). * Using both the generator and handlers to receive notifications on the same connection is therefore deprecated and will now generate a runtime warning. * Add support for Python 3.14 (ticket #1053). Dirk Mueller 2025-09-29 21:20:34 +00:00
  • ab7c3de0f9 Accepting request 1281329 from devel:languages:python Dominique Leuenberger 2025-05-31 17:15:53 +00:00
  • b812b1af78 - update to 3.2.9: * Fix DateFromTicks and TimeFromTicks return values to return a date and a time referred to the UTC timezone rather than to the local timezone. For consistency, TimestampFromTicks to return a datetime in UTC rather than in the local timezone * Fix ~Cursor.rownumber after using ~AsyncServerCursor.scroll() on AsyncServerCursor (🎫#1066). * Fix interval parsing with days or other parts and negative time in C module * Don't process further connection attempts after Ctrl-C * Fix cursors to correctly iterate over rows even if their row factory returns None (🎫#1073). * Fix ConnectionInfo.port when the port is specified as an empty string * Report all the attempts error messages in the exception raised for a connection failure (🎫#1069). * Improve logging on connection (🎫#1085). * Add support for PostgreSQL 18 libpq (🎫#1082). * Add SRID support to shapely dumpers/loaders (🎫#1028). * Add support for binary hstore (🎫#1030). Dirk Mueller 2025-05-30 09:13:13 +00:00
  • db5c87b15f Accepting request 1268072 from devel:languages:python Ana Guerrero 2025-04-10 19:58:37 +00:00
  • c8739e2047 Accepting request 1268046 from home:alarrosa:branches:devel:languages:python Nico Krapp 2025-04-09 08:55:01 +00:00
  • 9c77dc94ac Accepting request 1223752 from devel:languages:python Ana Guerrero 2024-11-13 14:28:21 +00:00
  • c408c2067f - update to 3.2.3: * Release binary packages including PostgreSQL 17 libpq (🎫#852). * Drop !TypeDef specifications as string from public modules, as they cannot be composed by users as !typing objects previously could (🎫#860). * Release Python 3.13 binary packages. Dirk Mueller 2024-11-12 16:27:45 +00:00
  • 6b4b20b584 Accepting request 1198910 from devel:languages:python Ana Guerrero 2024-09-09 12:43:29 +00:00
  • 84b0f67ae0 - update to 3.2.1: * Fix packaging metadata breaking [c], [binary] dependencies * Add support for integer, floating point, boolean NumPy scalar types (ticket #332). * Add timeout and stop_after parameters to Connection.notifies() * Allow dumpers to return None, to be converted to NULL (ticket * Add Raw query cursors to execute queries using placeholders in PostgreSQL format ($1, $2…) (tickets #560, #839). * Add capabilities object to inspect the libpq capabilities * Add scalar_row to return scalar values from a query * Add cancel_safe() for encrypted and non-blocking cancellation when using libpq v17. Use such method internally to implement KeyboardInterrupt and copy termination * The context parameter of sql objects as_string() and as_bytes() methods is now optional * Add set_autocommit() on sync connections, and similar transaction control methods available on the async connections. * Add a size parameter to stream() to enable results retrieval in chunks instead of row-by-row - drop fix-pool-import.patch (upstream) Dirk Mueller 2024-08-31 12:41:43 +00:00
  • 5bd294973d Accepting request 1175328 from devel:languages:python Ana Guerrero 2024-05-21 16:35:13 +00:00
  • e3f8317831 - update to 3.1.19: * Fix unaligned access undefined behaviour in C extension * Fix excessive stripping of error message prefixes * Allow to specify the connect_timeout connection parameter as float * Improve COPY performance on macOS Dirk Mueller 2024-05-16 08:40:44 +00:00
  • 96cef60fc7 Accepting request 1160438 from devel:languages:python Ana Guerrero 2024-03-22 14:20:25 +00:00
  • 6086c883f9 - update to 3.1.18: * Fix possible deadlock on pipeline exit (🎫#685). * Fix overflow loading large intervals in C module * Fix compatibility with musl libc distributions affected by CPython issue #65821 Dirk Mueller 2024-03-21 17:16:05 +00:00
  • dfaa66462e Accepting request 1138871 from devel:languages:python Ana Guerrero 2024-01-15 21:15:39 +00:00
  • 659df7b7f9 Accepting request 1138840 from home:alarrosa:branches:devel:languages:python Markéta Machová 2024-01-15 14:04:07 +00:00
  • e215eb57dd - Update to 3.1.17: * Fix multiple connection attempts when a host name resolve to multiple IP addresses (🎫699). * Use typing.Self as a more correct return value annotation of context managers and other self-returning methods (see 🎫708). - Add patch fix-pool-import.patch: * Correct where we are importing from due to new pool release. Steve Kowalik 2024-01-15 05:04:45 +00:00
  • 26ff8aea52 - update to 3.1.16: * Fix empty ports handling in async multiple connection attempts Dirk Mueller 2024-01-05 17:51:23 +00:00
  • d57f7c7217 - update to 3.1.15: * Fix use of `service in connection string (regression in 3.1.13, 🎫#694). * Fix async connection to hosts resolving to multiple IP addresses (regression in 3.1.13, 🎫#695). * Respect the :envvar:PGCONNECT_TIMEOUT environment variable to determine the connection timeout. * Fix :ref:interaction with gevent <gevent> (🎫#527). * Add support for PyPy (🎫#686`). - Initial release of 3.1.9 Dirk Mueller 2023-12-14 21:12:16 +00:00
  • 80095b0655 Accepting request 1128596 from devel:languages:python Ana Guerrero 2023-11-24 22:35:16 +00:00
  • f6e275a14f Accepting request 1128589 from home:alarrosa:branches:devel:languages:python Dirk Mueller 2023-11-24 14:10:27 +00:00
  • 10c71e784f Accepting request 1098281 from devel:languages:python Ana Guerrero 2023-07-17 17:23:00 +00:00
  • 3920ec3b4d - Initial release of 3.1.9 Steve Kowalik 2023-07-12 05:45:28 +00:00