<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/psycopg2.git/doc, branch issue-template</title>
<subtitle>github.com: psycopg/psycopg2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/'/>
<entry>
<title>Fix typo: "the the"</title>
<updated>2019-06-21T10:26:47+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2019-06-21T03:18:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=491296e0f52ce2e174086b0426af3ad22881866c'/>
<id>491296e0f52ce2e174086b0426af3ad22881866c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>typo: remove 'a'</title>
<updated>2019-06-18T23:32:54+00:00</updated>
<author>
<name>Kunal Marwaha</name>
<email>marwahaha@berkeley.edu</email>
</author>
<published>2019-06-11T07:29:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=c32dbf357c39e03d5ef0ca23b36b1466739448df'/>
<id>c32dbf357c39e03d5ef0ca23b36b1466739448df</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added entry about how to ask questions</title>
<updated>2019-06-10T22:18:11+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2019-06-10T22:18:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=91a8962770a74fd8bd7654cb5fb92f1a83d73b5e'/>
<id>91a8962770a74fd8bd7654cb5fb92f1a83d73b5e</id>
<content type='text'>
Also fixed mailing list link (although it doesn't seem there's a link to
a subscription page anymore, you have to go through the community
portal).

Close #930.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fixed mailing list link (although it doesn't seem there's a link to
a subscription page anymore, you have to go through the community
portal).

Close #930.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve docs</title>
<updated>2019-05-06T13:42:37+00:00</updated>
<author>
<name>Alexander Kukushkin</name>
<email>alexander.kukushkin@zalando.de</email>
</author>
<published>2019-05-06T13:42:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=5eec11f2322a2c0cc772d8edee71f02d67040f0a'/>
<id>5eec11f2322a2c0cc772d8edee71f02d67040f0a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change the default value of keepalive_interval parameter to None</title>
<updated>2019-05-06T13:26:21+00:00</updated>
<author>
<name>Alexander Kukushkin</name>
<email>alexander.kukushkin@zalando.de</email>
</author>
<published>2019-05-06T13:26:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=f827e49f558878a8e842550e19cbc44b2de6ef13'/>
<id>f827e49f558878a8e842550e19cbc44b2de6ef13</id>
<content type='text'>
The previous default value was 10 seconds, what might cause silent
overwrite of the *status_interval* specified in the `start_replication()`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous default value was 10 seconds, what might cause silent
overwrite of the *status_interval* specified in the `start_replication()`
</pre>
</div>
</content>
</entry>
<entry>
<title>Smart replication feedback</title>
<updated>2019-05-06T08:27:44+00:00</updated>
<author>
<name>Alexander Kukushkin</name>
<email>alexander.kukushkin@zalando.de</email>
</author>
<published>2019-05-06T08:27:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=6cff5a3e089f155519765f9cdd49ef78b23ab740'/>
<id>6cff5a3e089f155519765f9cdd49ef78b23ab740</id>
<content type='text'>
This commit makes psycopg2 responsible for sending the status update
(feedback) messages to the server regardless of whether a synchronous or
asynchronous connection is used.

Feedback is sent every *status_update* (default value is 10) seconds,
which could be configured by passing a corresponding parameter to the
`start_replication()` or `start_replication_expert()` methods.
The actual feedback message is sent by the
`pq_read_replication_message()` when the *status_update* timeout is
reached.

The default behavior of the `send_feedback()` method is changed.
It doesn't send a feedback message on every call anymore but just
updates internal structures. There is still a way to *force* sending
a message if *force* or *reply* parameters are set.

The new approach has certain advantages:
1. The client can simply call the `send_feedback()` for every
   processed message and the library will take care of not overwhelming
   the server. Actually, in the synchronous mode it is even mandatory
   to confirm every processed message.
2. The library tracks internally the pointer of the last received
   message which is not keepalive. If the client confirmed the last
   message and after that server sends only keepalives with increasing
   *wal_end*, the library can safely move forward *flush* position to
   the *wal_end* and later automatically report it to the server.

Reporting of the *wal_end* received from keepalive messages is very
important. Not doing so casing:
1. Excessive disk usage, because the replication slot prevents from
   WAL being cleaned up.
2. The smart and fast shutdown of the server could last indefinitely
   because walsender waits until the client report *flush* position
   equal to the *wal_end*.

This implementation is only extending the existing API and therefore
should not break any of the existing code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit makes psycopg2 responsible for sending the status update
(feedback) messages to the server regardless of whether a synchronous or
asynchronous connection is used.

Feedback is sent every *status_update* (default value is 10) seconds,
which could be configured by passing a corresponding parameter to the
`start_replication()` or `start_replication_expert()` methods.
The actual feedback message is sent by the
`pq_read_replication_message()` when the *status_update* timeout is
reached.

The default behavior of the `send_feedback()` method is changed.
It doesn't send a feedback message on every call anymore but just
updates internal structures. There is still a way to *force* sending
a message if *force* or *reply* parameters are set.

The new approach has certain advantages:
1. The client can simply call the `send_feedback()` for every
   processed message and the library will take care of not overwhelming
   the server. Actually, in the synchronous mode it is even mandatory
   to confirm every processed message.
2. The library tracks internally the pointer of the last received
   message which is not keepalive. If the client confirmed the last
   message and after that server sends only keepalives with increasing
   *wal_end*, the library can safely move forward *flush* position to
   the *wal_end* and later automatically report it to the server.

Reporting of the *wal_end* received from keepalive messages is very
important. Not doing so casing:
1. Excessive disk usage, because the replication slot prevents from
   WAL being cleaned up.
2. The smart and fast shutdown of the server could last indefinitely
   because walsender waits until the client report *flush* position
   equal to the *wal_end*.

This implementation is only extending the existing API and therefore
should not break any of the existing code.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added FAQ entry about the change in binary packages in 2.8</title>
<updated>2019-04-14T14:08:07+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2019-04-14T14:08:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=6b740df70427a7eebd443e280f2e1f0405773a00'/>
<id>6b740df70427a7eebd443e280f2e1f0405773a00</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Highlight in docs that the context manager doesn't close the connection</title>
<updated>2019-04-07T10:19:56+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2019-04-07T10:19:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=5e01c47818f86511afaf2d016194bc77bca5bf54'/>
<id>5e01c47818f86511afaf2d016194bc77bca5bf54</id>
<content type='text'>
Code as in #889 is not robust, but the behaviour is actually
counter-intuitive.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Code as in #889 is not robust, but the behaviour is actually
counter-intuitive.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed replication cursor docs warning indentation level</title>
<updated>2019-04-01T09:54:01+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2019-04-01T09:47:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=544e1576490449253f104c8601871b7958498a1e'/>
<id>544e1576490449253f104c8601871b7958498a1e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replication objects docs header level bumped up</title>
<updated>2019-04-01T09:40:44+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2019-04-01T09:40:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=ed74189acdcff99e3ec00ba1ec7f016da3f700fb'/>
<id>ed74189acdcff99e3ec00ba1ec7f016da3f700fb</id>
<content type='text'>
Now it appears in the ToCs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now it appears in the ToCs.
</pre>
</div>
</content>
</entry>
</feed>
