aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/dbcommands.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-06-27 19:07:24 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-06-27 19:07:24 +0000
commitb779ea8a9a2dc3a089b3ac152b1ec4568bfeb26f (patch)
treeaad23aaa9f46cadf6dd9f13fe827f3c23fa2205f /src/backend/commands/dbcommands.c
parente351593922cd82231b8ef5fbb780757a9ba0f18a (diff)
downloadpostgresql-b779ea8a9a2dc3a089b3ac152b1ec4568bfeb26f.tar.gz
postgresql-b779ea8a9a2dc3a089b3ac152b1ec4568bfeb26f.zip
Fix pg_restore so parallel restore doesn't fail when the input file doesn't
contain data offsets (which it won't, if pg_dump thought its output wasn't seekable). To do that, remove an unnecessarily aggressive error check, and instead fail if we get to the end of the archive without finding the desired data item. Also improve the error message to be more specific about the cause of the problem. Per discussion of recent report from Igor Neyman. Back-patch to 8.4 where parallel restore was introduced.
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions