run the psql command with -E option and do
\d tablename.
On 8/24/05, sandhya <sandhyar(at)amiindia(dot)co(dot)in> wrote:
>
> Hi,
> Is there any equivalent command for '\d tablename'.
> Inorder to get the table structure is there any SQL query in postgres?
> Thank you,
> Regards,
> sandhya
>
--
with regards,
S.Gnanavel
Satyam Computer Services Ltd.