Re: Partitioned table system info

From: Vibhor Kumar <vibhor(dot)aim(at)gmail(dot)com>
To: Kevin Kempter <cs_dba(at)consistentstate(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Partitioned table system info
Date: 2010-08-06 00:19:02
Message-ID: 5A00958E-18FD-4C6A-9020-F966DA9AAF33@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bob Lunney 2010-08-06 01:32:54 Re: password administration
Previous Message Kevin Kempter 2010-08-05 23:11:07 Partitioned table system info