Re: Streaming replication for psycopg2
От | Shulgin, Oleksandr |
---|---|
Тема | Re: Streaming replication for psycopg2 |
Дата | |
Msg-id | CACACo5QzbUBW5VQTP-5BYJD+vbkNEib4_qkCL_jV6TWqe8eUjg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Streaming replication for psycopg2 ("Shulgin, Oleksandr" <oleksandr.shulgin@zalando.de>) |
Ответы |
Re: Streaming replication for psycopg2
|
Список | pgsql-hackers |
On Thu, Jun 4, 2015 at 5:49 PM, Shulgin, Oleksandr <oleksandr.shulgin@zalando.de> wrote:
On Tue, Jun 2, 2015 at 2:23 PM, Shulgin, Oleksandr <oleksandr.shulgin@zalando.de> wrote:
>
> Hello,
>
> I've submitted a patch to psycopg2 to support streaming replication protocol (COPY_BOTH): https://github.com/psycopg/psycopg2/pull/322
>
> It would be great if more people had a chance to take a look and provide feedback about it. In particular, please see example usage at this github comment[1]. Some bikeshedding is really needed here. :-)
Hello again,
I have updated the pull request above to address the feedback I've gathered from using this construct internally and from other sources. Now included, the lower level asynchronous interface that gives the user more control, for the price of doing select() and keeping track of keepalive timeouts manually.
It would be nice if someone could review this. The final look can be found by using this link (docs included): https://github.com/psycopg/psycopg2/pull/322/files
Thanks.
--
Alex
В списке pgsql-hackers по дате отправления: