Re: MySQLs Describe emulator! - Mailing list pgsql-sql

From Karel Zak
Subject Re: MySQLs Describe emulator!
Date
Msg-id 20010306155522.B13152@ara.zf.jcu.cz
Whole thread Raw
In response to Re: [GENERAL] MySQLs Describe emulator!  (Boulat Khakimov <boulat@inet-interactif.com>)
List pgsql-sql
On Tue, Mar 06, 2001 at 09:14:54AM -0500, Boulat Khakimov wrote:
> Tom Lane wrote:
> >
> > Boulat Khakimov <boulat@inet-interactif.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@zf.jcu.cz>
 http://home.zf.jcu.cz/~zakkr/

 C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz

pgsql-sql by date:

Previous
From: patrick.jacquot@anpe.fr
Date:
Subject: Re: Comparing dates
Next
From: dev@archonet.com
Date:
Subject: Re: Comparing dates