]> granicus.if.org Git - postgresql/commit
pg_dump: Miscellaneous tightening based on recent refactorings.
authorRobert Haas <rhaas@postgresql.org>
Thu, 16 Feb 2012 18:24:19 +0000 (13:24 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 16 Feb 2012 18:24:19 +0000 (13:24 -0500)
commit1cc1b91d1b09a5cdd9fc51c9eee31effd2227b4f
tree5b23418a540df8caf892dc58943e4f3d32deb5a6
parent689d0eb7db9514f33f49fd5260462b9ba8331e80
pg_dump: Miscellaneous tightening based on recent refactorings.

Use exit_horribly() and ExecuteSqlQueryForSingleRow() in various
places where it's equivalent, or nearly equivalent, to the prior
coding. Apart from being more compact, this also makes the error
messages for the wrong-number-of-tuples case more consistent.
src/bin/pg_dump/pg_dump.c