Re: [HACKERS] Patch: Add --no-comments to skip COMMENTs with pg_dump - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Patch: Add --no-comments to skip COMMENTs with pg_dump
Date
Msg-id 28401.1516912430@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Patch: Add --no-comments to skip COMMENTs with pg_dump  (Robins Tharakan <tharakan@gmail.com>)
Responses Re: [HACKERS] Patch: Add --no-comments to skip COMMENTs with pg_dump
List pgsql-hackers
Robins Tharakan <tharakan@gmail.com> writes:
> Attached is an updated patch (v4) with basic tests for pg_dump / pg_dumpall.

I've reviewed and pushed this, after making some changes so that the
switch works in pg_restore as well, and minor cosmetic adjustments.

The changes in t/002_pg_dump.pl largely failed to apply, which is
partially due to the age of the patch but IMO speaks more to the
unmaintainability of that TAP test.  It still didn't run after I'd
manually fixed the merge failures, so I gave up in disgust and
did not push any of the test changes.  If someone is excited enough
about testing this, they can submit a followon patch for that,
but I judge it not really worth either the human effort or the
future testing cycles.

(Am I right in thinking that 002_pg_dump.pl is, by design, roughly
O(N^2) in the number of features tested?  Ick.)

            regards, tom lane


pgsql-hackers by date:

Previous
From: Jeremy Schneider
Date:
Subject: Logical decoding of TRUNCATE vs DELETE
Next
From: Alvaro Herrera
Date:
Subject: Re: reducing isolation tests runtime