pgsql: pg_dump: Miscellaneous tightening based on recent refactorings.
pgsql: pg_dump: Miscellaneous tightening based on recent refactorings.
От:
Robert Haas <rhaas@postgresql.org>
Дата:
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. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/1cc1b91d1b09a5cdd9fc51c9eee31effd2227b4f Modified Files -------------- src/bin/pg_dump/pg_dump.c | 249 ++++++++++---------------------------------- 1 files changed, 57 insertions(+), 192 deletions(-)