aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/timeout.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2016-05-26 22:14:23 +0200
committerMagnus Hagander <magnus@hagander.net>2016-05-26 22:14:23 +0200
commitd74048defcb1f48c5cc5a1b2a8aa0f7da8663394 (patch)
tree4a16a439000381ed99e78e17151fd66081e5e3c1 /src/backend/utils/misc/timeout.c
parentaeb9ae6457865c8949641d71a9523374d843a418 (diff)
downloadpostgresql-d74048defcb1f48c5cc5a1b2a8aa0f7da8663394.tar.gz
postgresql-d74048defcb1f48c5cc5a1b2a8aa0f7da8663394.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/utils/misc/timeout.c')
0 files changed, 0 insertions, 0 deletions