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