Re: Overwrite pg_catalog?
От | Juliano |
---|---|
Тема | Re: Overwrite pg_catalog? |
Дата | |
Msg-id | DZdVFb3fEuHFKOJSspmYP336M5lpH8T37UcY60Me5PYsNJPmlEHG6TtUuk8OQCtljCKLH2nffz4QiGXZlFwIk9fu5DK8wrKWUDqfF5PkZ1M=@protonmail.com обсуждение исходный текст |
Ответ на | Re: Overwrite pg_catalog? (Michael Paquier <michael.paquier@gmail.com>) |
Ответы |
Re: Overwrite pg_catalog?
|
Список | pgsql-general |
Hi everyone,
Ok, thanks.
Just to explain: I have some custom objects on my pg_catalog and I would like to restore it in a new test database and I think that this is the best way, isn't it?
Regards,
Juliano
-------- Original Message --------Subject: Re: [GENERAL] Overwrite pg_catalog?Local Time: December 2, 2016 2:18 AMUTC Time: December 2, 2016 2:18 AMFrom: michael.paquier@gmail.comTo: Francisco Olarte <folarte@peoplecall.com>Juliano <jplinux@protonmail.com>, pgsql-general@postgresql.org <pgsql-general@postgresql.org>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
В списке pgsql-general по дате отправления: