From: Michelle Murrain <mpm@norwottuck.com>
To: Boulat Khakimov <boulat@inet-interactif.com>
To: Karel Zak <zakkr@zf.jcu.cz>
To: pgsql-sql@postgresql.org
To: pgsql-general@postgresql.org
Subject: Re: Re: MySQLs Describe emulator!
Date: Tue, 6 Mar 2001 10:29:23 -0500
Message-ID: <01030610292300.01441@chicago.murrain.net> (raw)
In-Reply-To: <3AA4FFF1.5875B665@inet-interactif.com>
References: <3AA44897.121D60F0@inet-interactif.com>
<20010306155522.B13152@ara.zf.jcu.cz>
<3AA4FFF1.5875B665@inet-interactif.com>
On Tuesday 06 March 2001 10:19 am, Boulat Khakimov wrote:
> Karel Zak wrote:
> > > 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
>
> 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 ...
And, further, some of us are web programmers, and the source code doesn't
help one whit in getting DATA that one needs to do stuff on the front end,
like data entry validation.
Thanks much Boulat - you made the coding for my robust validator a lot easier
to write and read... and it works well, too!
Michelle
------------
Michelle Murrain, Ph.D.
President
Norwottuck Technology Resources
mpm@norwottuck.com
http://www.norwottuck.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: mpm@norwottuck.com, boulat@inet-interactif.com, zakkr@zf.jcu.cz, pgsql-general@postgresql.org
Subject: Re: MySQLs Describe emulator!
In-Reply-To: <01030610292300.01441@chicago.murrain.net>
References: <3AA44897.121D60F0@inet-interactif.com> <20010306155522.B13152@ara.zf.jcu.cz> <3AA4FFF1.5875B665@inet-interactif.com> <01030610292300.01441@chicago.murrain.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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