pgsql: pg_dump: Miscellaneous tightening based on recent refactorings.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pg_dump: Miscellaneous tightening based on recent refactorings.
Date: 2012-02-16 18:26:20
Message-ID: E1Ry628-0000h9-7k@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2012-02-16 22:34:12 pgsql: Improve statistics estimation to make some use of DISTINCT in su
Previous Message Robert Haas 2012-02-16 18:03:12 pgsql: pg_dump: Remove global connection pointer.