From: | Karel Zak <zakkr(at)zf(dot)jcu(dot)cz> |
---|---|
To: | Boulat Khakimov <boulat(at)inet-interactif(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-sql(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org |
Subject: | Re: MySQLs Describe emulator! |
Date: | 2001-03-06 14:55:22 |
Message-ID: | 20010306155522.B13152@ara.zf.jcu.cz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
On Tue, Mar 06, 2001 at 09:14:54AM -0500, Boulat Khakimov wrote:
> Tom Lane wrote:
> >
> > Boulat Khakimov <boulat(at)inet-interactif(dot)com> writes:
> > > Here is a nifty query I came up with
> > > that provides a detailed information on any row of any table.
> > > Something that is build into mySQL (DESC tablename fieldname)
> > > but not into PG.
> >
> > Er, what's wrong with psql's "\d table" ?
>
> 2) as a programmer I need to be able to find out as much info as
> possible about any given field
> which is what "describe" for in mySQL.
As a programmer you can see psql source and directly found how SQL
query execute this tool. The PostgreSQL needn't non-standard statements
like MySQL's SHOW, DESC -- the postgreSQL has system catalogs.
Karel
--
Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
http://home.zf.jcu.cz/~zakkr/
C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz
From | Date | Subject | |
---|---|---|---|
Next Message | Boulat Khakimov | 2001-03-06 15:19:13 | Re: Re: MySQLs Describe emulator! |
Previous Message | Holger Klawitter | 2001-03-06 14:42:40 | new tip feature |
From | Date | Subject | |
---|---|---|---|
Next Message | dev | 2001-03-06 14:58:57 | Re: Comparing dates |
Previous Message | Justin Long | 2001-03-06 14:18:41 | Re: Optimizing Query |