aboutsummaryrefslogtreecommitdiff
path: root/src/backend/lib/binaryheap.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2013-08-24 17:11:31 +0200
committerMagnus Hagander <magnus@hagander.net>2013-08-24 17:14:18 +0200
commit3cf89057b5bced4478a285e0b49e321996b40044 (patch)
treee7060791441855db67a0f1711112e3285972082a /src/backend/lib/binaryheap.c
parentc19617d5355e41074623bbb7c3efda532c20f637 (diff)
downloadpostgresql-3cf89057b5bced4478a285e0b49e321996b40044.tar.gz
postgresql-3cf89057b5bced4478a285e0b49e321996b40044.zip
Don't crash when pg_xlog is empty and pg_basebackup -x is used
The backup will not work (without a logarchive, and that's the whole point of -x) in this case, this patch just changes it to throw an error instead of crashing when this happens. Noticed and diagnosed by TAKATSUKA Haruka
Diffstat (limited to 'src/backend/lib/binaryheap.c')
0 files changed, 0 insertions, 0 deletions