Re: Re: MySQLs Describe emulator!

From: Boulat Khakimov <boulat(at)inet-interactif(dot)com>
To: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>, pgsql-sql(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: Re: MySQLs Describe emulator!
Date: 2001-03-06 15:19:13
Message-ID: 3AA4FFF1.5875B665@inet-interactif.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql


Karel Zak wrote:
> > 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

Agreed! Why make someones life easier??
Let's complicate things as much as possible that way it's more
fun,right? ;o)

Dont understand how this works? No problem -- just read the source
code.
Dont understand how to get that to work? Not a problem -- read the
source code!

The only problem tho, the source codes tend to be thousands of lines
when it comes
to DBs and time is ...

Regards,
Boulat Khakimov

--
Nothing Like the Sun

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michelle Murrain 2001-03-06 15:29:23 Re: Re: MySQLs Describe emulator!
Previous Message Karel Zak 2001-03-06 14:55:22 Re: MySQLs Describe emulator!

Browse pgsql-sql by date

  From Date Subject
Next Message Markus Wagner 2001-03-06 15:29:21 platform independend db access?
Previous Message Michael Fork 2001-03-06 15:14:57 Re: Comparing dates