Re: Partitioned table system info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux