pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Hoffmann <jeff@propertykey.com>
To: Brian C. Doyle <bcdoyle@mindspring.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Table Attribute Help
Date: Mon, 09 Oct 2000 10:33:47 -0500
Message-ID: <39E1E55B.D9965F8C@propertykey.com> (raw)
References: <5.0.0.25.2.20001009112014.01ca2b00@pop.mindspring.com>

"Brian C. Doyle" wrote:
> 
> Hello all,
> 
> I am trying to find a query to retrive the attributes of a table as in \d
> tablename but as a select command.  Is this possible?

run "psql -E" -- it will echo all of the sql queries that those commands
use.

-- 

Jeff Hoffmann
PropertyKey.com



view thread (3+ messages)  latest in thread

Message-ID: <39E1E55B.D9965F8C@propertykey.com>
Permalink:  ../39E1E55B.D9965F8C@propertykey.com/
Also on:    postgresql.org/message-id/39E1E55B.D9965F8C@propertykey.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: jeff@propertykey.com, bcdoyle@mindspring.com
  Subject: Re: Table Attribute Help
  In-Reply-To: <39E1E55B.D9965F8C@propertykey.com>
  References: <5.0.0.25.2.20001009112014.01ca2b00@pop.mindspring.com> <39E1E55B.D9965F8C@propertykey.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