pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael S. Kelly <michaelk@axian.com>
To: Larry ganga giri <linuxfan@england.com>
To: pgsql-sql-owner+M349@hub.org
Cc: pgsql-sql@postgresql.org
Subject: RE: How to do this in pgsql?
Date: Thu, 20 Apr 2000 16:52:09 -0700
Message-ID: <NEBBKOJMAKEJJCCOJPPPGEOFCAAA.michaelk@axian.com> (raw)
In-Reply-To: <LIGFMOPOEGALBAAA@shared2-mail.whowhere.com>

Hi Larry,

I'm something of a newbie to PostgreSQL myself, but I just happened to be
reading the section in Bruce Momjian's book that discusses how to display a
table's structure in psql.  The command is "\d <table_name>".

The user-defined types will be in chapter 16, which is, as yet, unwritten.
But the Programmer's Guide seems to discuss this topic.

If you haven't looked at Momjian's book yet, I highly recommend you download
a copy.

     http://www.postgresql.org/docs/awbook.html

Good luck,

-=michael=-



-----Original Message-----
From: Larry ganga giri [mailto:linuxfan@england.com]
Sent: Wednesday, April 19, 2000 9:08 PM
To: pgsql-sql-owner+M349@hub.org
Cc: pgsql-sql@postgresql.org
Subject: How to do this in pgsql?



 Hi,


   I need to
 *Describe the table structure.
  Tried Desc <tab-name> as in oracle.
  But it failed.
 *Create an user-defined type in pgsql.

   can anybody help me pleez?

thanks,
Larry.


__________________________________________________________________
Get your own free England E-mail address at http://www.england.com




view thread (3+ messages)

Message-ID: <NEBBKOJMAKEJJCCOJPPPGEOFCAAA.michaelk@axian.com>
Permalink:  ../NEBBKOJMAKEJJCCOJPPPGEOFCAAA.michaelk@axian.com/
Also on:    postgresql.org/message-id/NEBBKOJMAKEJJCCOJPPPGEOFCAAA.michaelk@axian.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: michaelk@axian.com, linuxfan@england.com, pgsql-sql-owner+M349@hub.org
  Subject: Re: How to do this in pgsql?
  In-Reply-To: <NEBBKOJMAKEJJCCOJPPPGEOFCAAA.michaelk@axian.com>
  References: <LIGFMOPOEGALBAAA@shared2-mail.whowhere.com> <NEBBKOJMAKEJJCCOJPPPGEOFCAAA.michaelk@axian.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