aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-06-27 19:07:30 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-06-27 19:07:30 +0000
commit8c1f92c5c0335c880acacdd4324d73b502116296 (patch)
treed27198e0e90b76413600d0bcda560a66b2d43cdd /src/backend/parser/parse_expr.c
parent263ac11379cca4306bd938977a90400f9cc7cb98 (diff)
downloadpostgresql-8c1f92c5c0335c880acacdd4324d73b502116296.tar.gz
postgresql-8c1f92c5c0335c880acacdd4324d73b502116296.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/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions