pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Boulat Khakimov <boulat@inet-interactif.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-sql@postgresql.org
To: pgsql-general@postgresql.org
Subject: Re: MySQLs Describe emulator!
Date: Tue, 06 Mar 2001 09:14:54 -0500
Message-ID: <3AA4F0DE.D96BA904@inet-interactif.com> (raw)
References: <3AA44897.121D60F0@inet-interactif.com>
	<3764.983846777@sss.pgh.pa.us>

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" ?


Hi,

1) "\d table" can only be used in psql, you cant run a query like that
using libpq for example

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.

Regards,
Boulat Khakimov
      

-- 
Nothing Like the Sun



view thread (14+ messages)  latest in thread

Message-ID: <3AA4F0DE.D96BA904@inet-interactif.com>
Permalink:  ../3AA4F0DE.D96BA904@inet-interactif.com/
Also on:    postgresql.org/message-id/3AA4F0DE.D96BA904@inet-interactif.com

 · 

reply

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: boulat@inet-interactif.com, tgl@sss.pgh.pa.us, pgsql-general@postgresql.org
  Subject: Re: MySQLs Describe emulator!
  In-Reply-To: <3AA4F0DE.D96BA904@inet-interactif.com>
  References: <3AA44897.121D60F0@inet-interactif.com> <3764.983846777@sss.pgh.pa.us> <3AA4F0DE.D96BA904@inet-interactif.com>

* 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