pgsql: Refactor pg_dump.c to avoid duplicating returns-one-row check. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Refactor pg_dump.c to avoid duplicating returns-one-row check.
Date
Msg-id E1Ry4qZ-0007yb-2F@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Refactor pg_dump.c to avoid duplicating returns-one-row check.

Any patches apt to get broken have probably already been broken by the
error-handling cleanups I just did, so we might as well clean this up
at the same time.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/549e93c990575b2b69c49fcacc0f280bc9762db9

Modified Files
--------------
src/bin/pg_dump/pg_dump.c |  252 ++++++++-------------------------------------
1 files changed, 41 insertions(+), 211 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Invent on_exit_nicely for pg_dump.
Next
From: Robert Haas
Date:
Subject: pgsql: pg_dump: Remove global connection pointer.