pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Partitioned table system info
2+ messages / 2 participants
[nested] [flat]

* Partitioned table system info
@ 2010-08-05 23:11  Kevin Kempter <cs_dba@consistentstate.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Kevin Kempter @ 2010-08-05 23:11 UTC (permalink / raw)
  To: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Partitioned table system info
@ 2010-08-06 00:19  Vibhor Kumar <vibhor.aim@gmail.com>
  parent: Kevin Kempter <cs_dba@consistentstate.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Vibhor Kumar @ 2010-08-06 00:19 UTC (permalink / raw)
  To: Kevin Kempter <cs_dba@consistentstate.com>; +Cc: 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@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin







^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2010-08-06 00:19 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-08-05 23:11 Partitioned table system info Kevin Kempter <cs_dba@consistentstate.com>
2010-08-06 00:19 ` Vibhor Kumar <vibhor.aim@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox