Psycopg 2.8.3 released

Posted by Daniele Varrazzo on June 14, 2019
Tagged as news, release

We have released Psycopg 2.8.3, which includes a slight change to the logical replication.

Choosing the right frequency to send replication feedback messages from the client to the server was previously the developer's responsibility, with too many feedback messages being a waste of bandwidth and server resources, too few slowing down WAL cleanup and possibly preventing a server graceful shutdown.

Psycopg will now make sure that feedback is only sent after a certain period of time from the previous one, so that the client can simply call send_feedback() at each message without the fear of overwhelming the server.

Further details are available in the MR by Alexander Kukushkin and Oleksandr Shulgin. Thank you very much!

For completeness, the changes included in the release are:

  • Added interval_status parameter to start_replication() method and other facilities to send automatic replication keepalives at periodic intervals (ticket #913).
  • Fixed namedtuples caching introduced in 2.8 (ticket #928).

No comment posted yet.

Feel free to add a new comment. You can use reST syntax.