From: Oliver Elphick <olly@lfix.co.uk>
To: sandhya <sandhyar@amiindia.co.in>
Cc: postgre <pgsql-admin@postgresql.org>
Cc: Sivakumar K <sivakumark@aztec.soft.net>
Subject: Re: Reg:sql command
Date: Wed, 24 Aug 2005 10:16:59 +0100
Message-ID: <1124875019.3560.173.camel@linda> (raw)
In-Reply-To: <024c01c5a873$ec6da040$cd00000a@amiindiahjwbgh>
References: <024c01c5a873$ec6da040$cd00000a@amiindiahjwbgh>
On Wed, 2005-08-24 at 11:50 +0530, sandhya wrote:
> Hi,
> Is there any equivalent command for '\d tablename'.
> Inorder to get the table structure is there any SQL query in postgres?
>
use psql -E to see the SQL commands that are used to implement \d and
other such commands.
--
Oliver Elphick olly@lfix.co.uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA 92C8 39E7 280E 3631 3F0E 1EC0 5664 7A2F A543 10EA
========================================
Do you want to know God? http://www.lfix.co.uk/knowing_god.html
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-admin@postgresql.org
Cc: olly@lfix.co.uk, sandhyar@amiindia.co.in, sivakumark@aztec.soft.net
Subject: Re: Reg:sql command
In-Reply-To: <1124875019.3560.173.camel@linda>
References: <024c01c5a873$ec6da040$cd00000a@amiindiahjwbgh> <1124875019.3560.173.camel@linda>
* 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