From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Use asynchronous connect API in libpqwalreceiver |
Date: | 2017-03-03 14:17:44 |
Message-ID: | E1cjo1g-0000mr-ST@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
Use asynchronous connect API in libpqwalreceiver
This makes the connection attempt from CREATE SUBSCRIPTION and from
WalReceiver interruptable by the user in case the libpq connection is
hanging. The previous coding required immediate shutdown (SIGQUIT) of
PostgreSQL in that situation.
From: Petr Jelinek <petr(dot)jelinek(at)2ndquadrant(dot)com>
Tested-by: Thom Brown <thom(at)linux(dot)com>
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/1e8a850094478a2036891fa3d4ce769bce411ee3
Modified Files
--------------
src/backend/postmaster/pgstat.c | 4 +-
.../libpqwalreceiver/libpqwalreceiver.c | 49 +++++++++++++++++++++-
src/include/pgstat.h | 2 +-
3 files changed, 50 insertions(+), 5 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2017-03-03 15:07:32 | pgsql: Fix after trigger execution in logical replication |
Previous Message | Simon Riggs | 2017-03-03 13:50:11 | pgsql: Allow vacuums to report oldestxmin |
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2017-03-03 15:07:41 | Re: logical replication access control patches |
Previous Message | Tomas Vondra | 2017-03-03 14:03:57 | Re: PATCH: pageinspect / add page_checksum and bt_page_items(bytea) |