diff options
author | Magnus Hagander <magnus@hagander.net> | 2016-05-26 22:14:23 +0200 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2016-05-26 22:18:04 +0200 |
commit | 47e59697679a0877e0525c565b1be437487604a7 (patch) | |
tree | 11850305e873ab9747d1e23cb4cdb72d95c076d8 /src/backend/tcop/postgres.c | |
parent | aa86edb38da6f822a53553c94d11f95ed4549d76 (diff) | |
download | postgresql-47e59697679a0877e0525c565b1be437487604a7.tar.gz postgresql-47e59697679a0877e0525c565b1be437487604a7.zip |
Make pg_dump error cleanly with -j against hot standby
Getting a synchronized snapshot is not supported on a hot standby node,
and is by default taken when using -j with multiple sessions. Trying to
do so still failed, but with a server error that would also go in the
log. Instead, proprely detect this case and give a better error message.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions