pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-admin@postgresql.org
Subject: Re: functions pg_get...
Date: Thu, 15 Nov 2007 10:39:52 -0500
Message-ID: <20071115153952.GG20228@crankycanuck.ca> (raw)
In-Reply-To: <1C2329C9430609409808ECF10237287612EA4CC8@mydomain.com>
References: <1C2329C9430609409808ECF10237287612EA4CC8@mydomain.com>

On Thu, Nov 15, 2007 at 04:33:34PM +0100, "König, Monika" wrote:
> I'm looking for a postgres-funtion that shows me the definition of a table.

In psql, this is retrieved by \d [tablename].  By running psql -E, you'll be
able to see how it generates that.  (No, I'm not going to tell you, because
I think it's good practice :)

A

-- 
Andrew Sullivan
Old sigs will return after re-constitution of blue smoke



view thread (3+ messages)  latest in thread

Message-ID: <20071115153952.GG20228@crankycanuck.ca>
Permalink:  ../20071115153952.GG20228@crankycanuck.ca/
Also on:    postgresql.org/message-id/20071115153952.GG20228@crankycanuck.ca

 · 

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: ajs@crankycanuck.ca
  Subject: Re: functions pg_get...
  In-Reply-To: <20071115153952.GG20228@crankycanuck.ca>

* 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