Re: Overwrite pg_catalog? - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: Overwrite pg_catalog?
Date
Msg-id 375109e6-de88-d1a0-8240-8f6f64871fee@commandprompt.com
Whole thread Raw
In response to Overwrite pg_catalog?  (Juliano <jplinux@protonmail.com>)
List pgsql-general
On 12/01/2016 03:16 AM, Juliano wrote:
> Hi everyone,
>
> I tried to restore pg_catalog to my new database, but the existing
> pg_catalog can't be overwritten or dropped, and postgres auto creates
> pg_catalog when I create a new DB.
>
> So, there is a way to restore the pg_catalog to a new database?

Why would you do that? You should be restoring from a proper backup
which will already have everything it needs to populate the new
pg_catalog correctly.

JD

>
> Regards,
> Juliano


--
Command Prompt, Inc.                  http://the.postgres.company/
                         +1-503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Everyone appreciates your honesty, until you are honest with them.
Unless otherwise stated, opinions are my own.


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: PostgreSQL ODBC driver for OSX 10.8
Next
From: Tom Lane
Date:
Subject: Re: Index is not used for "IN (non-correlated subquery)"