pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vibhor Kumar <vibhor.aim@gmail.com>
To: Kevin Kempter <cs_dba@consistentstate.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Partitioned table system info
Date: Thu, 5 Aug 2010 20:19:02 -0400
Message-ID: <5A00958E-18FD-4C6A-9020-F966DA9AAF33@gmail.com> (raw)
In-Reply-To: <201008051711.07394.cs_dba@consistentstate.com>
References: <201008051711.07394.cs_dba@consistentstate.com>

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







view thread (2+ messages)

Message-ID: <5A00958E-18FD-4C6A-9020-F966DA9AAF33@gmail.com>
Permalink:  ../5A00958E-18FD-4C6A-9020-F966DA9AAF33@gmail.com/
Also on:    postgresql.org/message-id/5A00958E-18FD-4C6A-9020-F966DA9AAF33@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: vibhor.aim@gmail.com, cs_dba@consistentstate.com
  Subject: Re: Partitioned table system info
  In-Reply-To: <5A00958E-18FD-4C6A-9020-F966DA9AAF33@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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