Re: [BUGS] BUG #14650: pg_dump -c fails when 'public' schema doesn't exist - Mailing list pgsql-bugs

From Tom Lane
Subject Re: [BUGS] BUG #14650: pg_dump -c fails when 'public' schema doesn't exist
Date
Msg-id 4692.1494613340@sss.pgh.pa.us
Whole thread Raw
In response to [BUGS] BUG #14650: pg_dump -c fails when 'public' schema doesn't exist  (tureba@gmail.com)
Responses Re: [BUGS] BUG #14650: pg_dump -c fails when 'public' schema doesn't exist  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-bugs
tureba@gmail.com writes:
> It seems that pg_dump -c fails when the database doesn't have a 'public'
> schema. When using a clean database, then dropping (or renaming) the
> 'public' schema, a subsequent pg_dump -c tells me:

> $ pg_dump -c test
> pg_dump: [archiver (db)] query failed: ERROR:  schema "public" does not exist
> LINE 1: ...::regclass AND pip.objsubid = 0 AND pip.objoid <> 'public'::...
>                                                              ^

> This seems to have started in commit 330b84d8c4

Yeah, this is not cool.  Stephen?
        regards, tom lane


--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: tureba@gmail.com
Date:
Subject: [BUGS] BUG #14650: pg_dump -c fails when 'public' schema doesn't exist
Next
From: Jeremy Cowgar
Date:
Subject: Re: [BUGS] BUG #14649: Function Namespace Resolution Bug