pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Table Attribute Help
3+ messages / 3 participants
[nested] [flat]

* Table Attribute Help
@ 2000-10-09 15:21 Brian C. Doyle <bcdoyle@mindspring.com>
  2000-10-09 15:33 ` Re: Table Attribute Help Jeff Hoffmann <jeff@propertykey.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Brian C. Doyle @ 2000-10-09 15:21 UTC (permalink / raw)
  To: pgsql-sql

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?





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

* Re: Table Attribute Help
  2000-10-09 15:21 Table Attribute Help Brian C. Doyle <bcdoyle@mindspring.com>
@ 2000-10-09 15:33 ` Jeff Hoffmann <jeff@propertykey.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Jeff Hoffmann @ 2000-10-09 15:33 UTC (permalink / raw)
  To: Brian C. Doyle <bcdoyle@mindspring.com>; +Cc: pgsql-sql

"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



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

* Re: Table Attribute Help
@ 2000-10-09 15:47 omid omoomi <oomoomi@hotmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: omid omoomi @ 2000-10-09 15:47 UTC (permalink / raw)
  To: bcdoyle@mindspring.com; pgsql-sql


Hi,

>From: "Brian C. Doyle" <bcdoyle@mindspring.com>
>To: pgsql-sql@postgresql.org
>Subject: [SQL] Table Attribute Help
>Date: Mon, 09 Oct 2000 11:21:21 -0400
>
>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?
>
>
yes. try to run psql with -E  and look at the related system tables when 
running \d command like (pg_class, pg_user, ...)
regards
Omid Omoomi
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.




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


end of thread, other threads:[~2000-10-09 15:47 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-10-09 15:21 Table Attribute Help Brian C. Doyle <bcdoyle@mindspring.com>
2000-10-09 15:33 ` Jeff Hoffmann <jeff@propertykey.com>
2000-10-09 15:47 Re: Table Attribute Help omid omoomi <oomoomi@hotmail.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