Re: pg_dump new feature: exporting functions only. Bad or good idea ? - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: pg_dump new feature: exporting functions only. Bad or good idea ?
Date
Msg-id CAKFQuwbEA6nbMzTyNRKFNU8TAcQ0m4YzzZ+OAvrVg0NkVMysNA@mail.gmail.com
Whole thread Raw
In response to Re: pg_dump new feature: exporting functions only. Bad or good idea ?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Friday, March 25, 2022, Tom Lane <tgl@sss.pgh.pa.us> wrote:
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Fri, Mar 25, 2022 at 10:57 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> pg_dump never dumps system objects, so I don't see a need for
>> a switch to tell it not to.

> I considered pg_class to be a system object, which was dumped under -t '*'

I'd vote for changing the behavior of --table rather than trying to
be bug-compatible with this decision.


Agreed.

David J.
 

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_dump new feature: exporting functions only. Bad or good idea ?
Next
From: Tom Lane
Date:
Subject: Re: Add non-blocking version of PQcancel