Re: pg_restore creates public schema? - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_restore creates public schema?
Date
Msg-id 2678272.1665067771@sss.pgh.pa.us
Whole thread Raw
In response to pg_restore creates public schema?  (Ron <ronljohnsonjr@gmail.com>)
Responses Re: pg_restore creates public schema?
List pgsql-general
Ron <ronljohnsonjr@gmail.com> writes:
> pg_dump 9.6.24

You realize that that version's been out of support for a year?

> Why does pg_restore explicitly create "public" even though public is 
> automatically created when the database is created?

We fixed that in v11 (see 5955d9341).  Evidently the fix requires an
updated pg_dump more than pg_restore.  However, I believe that only
happens with -c, so why are you using both -c and -C?

            regards, tom lane



pgsql-general by date:

Previous
From: Gus Spier
Date:
Subject: Re: Postgres calendar?
Next
From: Ron
Date:
Subject: Re: pg_restore creates public schema?