Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f26FU4x15697; Tue, 6 Mar 2001 10:30:07 -0500 (EST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f26FTjd07306; Tue, 6 Mar 2001 07:29:45 -0800 (PST) Date: Tue, 6 Mar 2001 07:29:45 -0800 From: Alfred Perlstein To: Boulat Khakimov Cc: Karel Zak , pgsql-sql@postgresql.org, pgsql-general@postgresql.org Subject: Re: Re: MySQLs Describe emulator! Message-ID: <20010306072944.K8663@fw.wintelcom.net> References: <3AA44897.121D60F0@inet-interactif.com> <3764.983846777@sss.pgh.pa.us> <3AA4F0DE.D96BA904@inet-interactif.com> <20010306155522.B13152@ara.zf.jcu.cz> <3AA4FFF1.5875B665@inet-interactif.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AA4FFF1.5875B665@inet-interactif.com>; from boulat@inet-interactif.com on Tue, Mar 06, 2001 at 10:19:13AM -0500 X-all-your-base: are belong to us. X-Archive-Number: 200103/251 X-Sequence-Number: 5734 * Boulat Khakimov [010306 07:24] wrote: > > 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. FreeBSD has had some great successes because we're able to emulate Linux, perhaps something in contrib or even the base system could offer a MySQL compatibility module to help people ease into Postgresql from Mysql? -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]