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