Re: Equate for "describe table" ?

From: "Johnson, Shaunn" <SJohnson6(at)bcbsm(dot)com>
To: "'john'" <servobit(at)m(dot)r(dot)c>, pgsql-general(at)postgresql(dot)org
Subject: Re: Equate for "describe table" ?
Date: 2001-11-06 15:38:46
Message-ID: 73309C2FDD95D11192E60008C7B1D5BB03FFFF71@snt452.corp.bcbsm.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

--howdy:

--i'm assuming you're just getting the table description
via the command line?

database=> \d tablename

Table "tablename"
Attribute | Type | Modifier
-----------+-------------------+----------
username | character varying |
fullname | character varying |
password | character varying |
class | character(1) |
function | character varying |
email | character varying |
options | character varying |

--HTH

-X

-----Original Message-----
From: john [mailto:servobit(at)m(dot)r(dot)c]
Sent: Monday, November 05, 2001 12:28 PM
To: pgsql-general(at)postgresql(dot)org
Subject: [GENERAL] Equate for "describe table" ?

Hi,

postgres newbie here.

What is the equivalent of "desc" or "describe tablename" in postgres?

Thanks,

John

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Browse pgsql-general by date

  From Date Subject
Next Message Masaru Sugawara 2001-11-06 15:40:50 Re: Probably simple answer
Previous Message Andy Hallam 2001-11-06 15:38:22 ODBC and Native error codes