diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-13 14:38:04 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-13 14:38:04 +0000 |
commit | e4155c8483084e2a8d5779002e3b07854c85baf8 (patch) | |
tree | 7a5d3d589df1a1b298f8c7edb413fc18117d6b51 /src/backend/utils/adt/xml.c | |
parent | 9b0a86861a5d5cfe35fe8c876289402891022d4a (diff) | |
download | postgresql-e4155c8483084e2a8d5779002e3b07854c85baf8.tar.gz postgresql-e4155c8483084e2a8d5779002e3b07854c85baf8.zip |
Fix pg_restore to complain if any arguments remain after parsing the switches
and input file name, per bug #5617 from Leo Shklovskii. Rearrange the
corresponding code in pg_dump and pg_dumpall so that all three programs
handle this in a consistent, straightforward fashion.
Back-patch to 9.0, but no further. Although this is certainly a bug, it's
possible that people have scripts that will be broken by the added error
check, so it seems better not to change the behavior in stable branches.
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions