Partitioned table system info

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 [at] postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Kevin Kempter [ Fr, 06 August 2010 01:11 ] [ ID #2045667 ]

Re: Partitioned table system info

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;
>
> 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 [at] postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin





--
Sent via pgsql-admin mailing list (pgsql-admin [at] postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Vibhor Kumar [ Fr, 06 August 2010 02:19 ] [ ID #2045668 ]
Datenbanken » gmane.comp.db.postgresql.admin » Partitioned table system info

Vorheriges Thema: out of memory error
Nächstes Thema: how can we resolving locking state