aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-03-03 09:07:22 -0500
committerPeter Eisentraut <peter_e@gmx.net>2017-03-03 09:13:58 -0500
commit1e8a850094478a2036891fa3d4ce769bce411ee3 (patch)
treeebbf65f27777bca45982c51bfdfb22dcc57a6e0f /src/backend/commands/async.c
parent9eb344faf54a849898d9be012ddfa8204cfeb57c (diff)
downloadpostgresql-1e8a850094478a2036891fa3d4ce769bce411ee3.tar.gz
postgresql-1e8a850094478a2036891fa3d4ce769bce411ee3.zip
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.jelinek@2ndquadrant.com> Tested-by: Thom Brown <thom@linux.com>
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions