pgsql: pg_dump: Miscellaneous tightening based on recent refactorings. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: pg_dump: Miscellaneous tightening based on recent refactorings.
Date
Msg-id E1Ry628-0000h9-7k@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: pg_dump: Remove global connection pointer.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix longstanding error in contrib/intarray's int[] & int[] opera