Обсуждение: [COMMITTERS] pgsql: Reorder the asynchronous libpq calls for replication connection

Поиск
Список
Период
Сортировка

[COMMITTERS] pgsql: Reorder the asynchronous libpq calls for replication connection

От
Peter Eisentraut
Дата:
Reorder the asynchronous libpq calls for replication connection

Per libpq documentation, the initial state must be
PGRES_POLLING_WRITING.  Failing to do that appears to cause some issues
on some Windows systems.

From: Petr Jelinek <petr.jelinek@2ndquadrant.com>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e434ad39ae7316bcf35fd578dd34ad7e1ff3c25f

Modified Files
--------------
.../replication/libpqwalreceiver/libpqwalreceiver.c    | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)