pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sandeep Khandelwal <sandeep_khandelwal27@yahoo.com>
To: pgsql-interfaces@postgresql.org
Subject: How to get table definition of a PostgreSQL table
Date: Thu, 26 Oct 2006 23:25:56 -0700 (PDT)
Message-ID: <20061027062556.97956.qmail@web33305.mail.mud.yahoo.com> (raw)

Hi.

I would like to get field's name, datatype of each field, length of each field and precision of each field of a PostgreSQL table. Please let me SQL query to get this information.

Thanks, 
Sandeep





view thread (3+ messages)  latest in thread

Message-ID: <20061027062556.97956.qmail@web33305.mail.mud.yahoo.com>
Permalink:  ../20061027062556.97956.qmail@web33305.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/20061027062556.97956.qmail@web33305.mail.mud.yahoo.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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: sandeep_khandelwal27@yahoo.com
  Subject: Re: How to get table definition of a PostgreSQL table
  In-Reply-To: <20061027062556.97956.qmail@web33305.mail.mud.yahoo.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