pg_dump does not dump tables created in information_schema schema

From: vignesh C <vignesh21(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: pg_dump does not dump tables created in information_schema schema
Date: 2021-10-07 11:19:01
Message-ID: CALDaNm3NWpn6oeAGo+SsJ3+n5NMBWAVqF+6+u5y+99+fAFZJoA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I was able to create a table in "information_schema" schema, but
pg_dump does not dumps the table that was created in
"information_schema" schema:
create table information_schema.t1(c1 int);

The similar problem exists in case of create publication, we are able
to create publications for tables present in "information_schema"
schema, but pg_dump does not dump the publication to include the
information_schema.t1 information.
create publication pub1 for table information_schema.t1;

Should tables be allowed to create in "information_schema" schema, if
yes should the tables/publications be dumped while dumping database
contents?
Thoughts?

Regards,
Vignesh

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrei Zubkov 2021-10-07 11:22:36 Re: [PATCH] Tracking statements entry timestamp in pg_stat_statements
Previous Message Amul Sul 2021-10-07 11:11:37 Re: prevent immature WAL streaming