Re: Overwrite pg_catalog? - Mailing list pgsql-general

From Michael Paquier
Subject Re: Overwrite pg_catalog?
Date
Msg-id 20161202021810.GB10175@paquier.xyz
Whole thread Raw
In response to Re: Overwrite pg_catalog?  (Francisco Olarte <folarte@peoplecall.com>)
Responses Re: Overwrite pg_catalog?
List pgsql-general
On Thu, Dec 01, 2016 at 01:07:09PM +0100, Francisco Olarte wrote:
> Juliano:
>
> On Thu, Dec 1, 2016 at 12:16 PM, Juliano <jplinux@protonmail.com> wrote:
> > 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.
>
> This is because, in general, pg_catalog is maintained by DML
> statements, restoring it is not going to do what you think.

s/DML/DDL/
--
Michael

Attachment

pgsql-general by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Moving pg_xlog
Next
From: Jeff Janes
Date:
Subject: Re: Moving pg_xlog