Received: from fido.inet-interactif.com (fido.inet-interactif.com [216.218.2.225]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f26FHbx12825; Tue, 6 Mar 2001 10:17:37 -0500 (EST) (envelope-from boulat@inet-interactif.com) Received: from inet-interactif.com ([216.218.2.229]) by fido.inet-interactif.com (8.9.3/8.9.3) with ESMTP id KAA37930; Tue, 6 Mar 2001 10:17:26 -0500 (EST) (envelope-from boulat@inet-interactif.com) Message-ID: <3AA4FFF1.5875B665@inet-interactif.com> Date: Tue, 06 Mar 2001 10:19:13 -0500 From: Boulat Khakimov Organization: Inet Interactif Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.18 i686) X-Accept-Language: en MIME-Version: 1.0 To: Karel Zak , pgsql-sql@postgresql.org, pgsql-general@postgresql.org Subject: Re: Re: MySQLs Describe emulator! References: <3AA44897.121D60F0@inet-interactif.com> <3764.983846777@sss.pgh.pa.us> <3AA4F0DE.D96BA904@inet-interactif.com> <20010306155522.B13152@ara.zf.jcu.cz> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/247 X-Sequence-Number: 5725 Karel Zak wrote: > > On Tue, Mar 06, 2001 at 09:14:54AM -0500, Boulat Khakimov wrote: > > Tom Lane wrote: > > > > > > Boulat Khakimov 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