Re: [HACKERS] pg_dump ignoring information_schema tables which usedin Create Publication.

Поиск
Список
Период
Сортировка
От tushar
Тема Re: [HACKERS] pg_dump ignoring information_schema tables which usedin Create Publication.
Дата
Msg-id adb58840-404a-ce0c-6ea5-40ac2a2b70c9@enterprisedb.com
обсуждение исходный текст
Ответ на Re: [HACKERS] pg_dump ignoring information_schema tables which usedin Create Publication.  (Kuntal Ghosh <kuntalghosh.2007@gmail.com>)
Ответы Re: [HACKERS] pg_dump ignoring information_schema tables which used in Create Publication.  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [HACKERS] pg_dump ignoring information_schema tables which usedin Create Publication.  (Kuntal Ghosh <kuntalghosh.2007@gmail.com>)
Список pgsql-hackers
On 05/22/2017 05:12 PM, Kuntal Ghosh wrote:
> pg_dump ignores anything created under object name "pg_*" or
> "information_schema".
In this below scenario  , I am able to see - pg_dump catch the 
information of table which is created under information_schema

postgres=# create database  ntest;
\CREATE DATABASE
postgres=# \c ntest
You are now connected to database "ntest" as user "centos".
ntest=# create table information_schema.abc(n int);
CREATE TABLE
ntest=# create   view e1  as select * from information_schema.abc;
CREATE VIEW

[centos@centos-cpula regress]$ pg_dump -Fp  ntest > /tmp/a.a

cat /tmp/a.a
============================
SET search_path = public, pg_catalog;

--
-- Name: e1; Type: VIEW; Schema: public; Owner: centos
--

CREATE VIEW e1 AS SELECT abc.n   FROM information_schema.abc;
============================

-- 
regards,tushar
EnterpriseDB  https://www.enterprisedb.com/
The Enterprise PostgreSQL Company




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Kuntal Ghosh
Дата:
Сообщение: Re: [HACKERS] pg_dump ignoring information_schema tables which usedin Create Publication.
Следующее
От: Kuntal Ghosh
Дата:
Сообщение: Re: [HACKERS] Increasing parallel workers at runtime