Partitioned table system info
am 06.08.2010 01:11:07 von Kevin Kempter
Hi All;
can anyone point me to a system catalog query that will show me the base table
name, and all partition table names for any table that has children
(inheritance) ?
Thanks in advance
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Re: Partitioned table system info
am 06.08.2010 02:19:02 von Vibhor Kumar
Following query would help you:
select inhparent::pg_catalog.regclass, inhrelid::pg_catalog.regclass from =
pg_inherits;
Thanks & Regards,
Vibhor Kumar (PCP & OCP)
ITIL V3 Cerftified.
On Aug 5, 2010, at 7:11 PM, Kevin Kempter wrote:
> Hi All;
>=20
> can anyone point me to a system catalog query that will show me the base =
table=20
> name, and all partition table names for any table that has children=20
> (inheritance) ?
>=20
>=20
> Thanks in advance
>=20
> --=20
> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
--=20
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin