Re: pg_dump fail to not dump public schema orders - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_dump fail to not dump public schema orders
Date
Msg-id 10317.1590763220@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_dump fail to not dump public schema orders  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-hackers
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Friday, May 29, 2020, Adrien Nayrat <adrien.nayrat@anayrat.info> wrote:
>> I noticed pg_dump failed to not dump creation or comment commands for
>> public schema when we explicitly ask it to dump public schema.

> As far as I can tell this is working as intended/documented.  The public
> schema doesn’t and doesn’t and shouldn’t get special treatment relative to
> any other user schema here.

Note this is something we intentionally changed a little while ago
(v11, looks like), along with a larger refactoring of pg_dump vs.
pg_dumpall.  But yeah, public is not treated differently from other
schemas anymore.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: proposal: possibility to read dumped table's name from file
Next
From: Adrien Nayrat
Date:
Subject: Re: pg_dump fail to not dump public schema orders