pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ilan Volow <listboy@clarux.com>
To: pgsql-admin@postgresql.org
Subject: Re: functions pg_get...
Date: Thu, 15 Nov 2007 10:49:35 -0500
Message-ID: <9B7D104F-7FDE-4EA2-A5AA-CCEE42DC5C5B@clarux.com> (raw)
In-Reply-To: <1C2329C9430609409808ECF10237287612EA4CC8@mydomain.com>
References: <1C2329C9430609409808ECF10237287612EA4CC8@mydomain.com>

I've found the queries at this link to be very good for getting  
detailed postgresql schema information (table columns, triggers, etc)

http://www.alberton.info/postgresql_meta_info.html

-- Ilan

On Nov 15, 2007, at 10:33 AM, König, Monika wrote:

> I'm looking for a postgres-funtion that shows me the definition of  
> a table.
>
> I found the
> -- pg_catalog.pg_get_viewdef(oid)
> -- pg_catalog.pg_get_constraintdef(oid)
> -- pg_catalog.pg_get_triggerdef(oid)
> -- pg_get_indexdef(oid)
>
>
> but I miss the same for a relation.
>
>
> Monika König
>
>
>
> ---------------------------(end of  
> broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster

Ilan Volow
"Implicit code is inherently evil, and here's the reason why:"

view thread (3+ messages)

Message-ID: <9B7D104F-7FDE-4EA2-A5AA-CCEE42DC5C5B@clarux.com>
Permalink:  ../9B7D104F-7FDE-4EA2-A5AA-CCEE42DC5C5B@clarux.com/
Also on:    postgresql.org/message-id/9B7D104F-7FDE-4EA2-A5AA-CCEE42DC5C5B@clarux.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: listboy@clarux.com
  Subject: Re: functions pg_get...
  In-Reply-To: <9B7D104F-7FDE-4EA2-A5AA-CCEE42DC5C5B@clarux.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