pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kumar <sgnerd@yahoo.com.sg>
To: psql <pgsql-sql@postgresql.org>
Subject: Object description at Client Window
Date: Fri, 17 Oct 2003 11:36:27 +0530
Message-ID: <005401c39474$db9cf640$7502a8c0@hdsc.com> (raw)

Dear Friends,

I am working with Postgres 7.3.4 on RH linux 7.2.

I could get into the command prompt to describe a table structure.

Welcome to psql, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help on internal slash commands
       \g or terminate with semicolon to execute query
       \q to quit

training=# \d emp
                Table "emp"
 Column |         Type          | Modifiers
--------+-----------------------+-----------
 no     | integer               |
 name   | character varying(20) |
 age    | integer               |

training=#

But I wanted to know whether this description could be availed at the command prompt. I am using PgAdmin3. I have checked the systems tables also. pg_tables can tell us only the table and the columns inside tables.

Any idea to share with me, please. I am looking for something like sp_helptext in MS SQL server.

Regards
Kumar

view thread (8+ messages)  latest in thread

Message-ID: <005401c39474$db9cf640$7502a8c0@hdsc.com>
Permalink:  ../005401c39474$db9cf640$7502a8c0@hdsc.com/
Also on:    postgresql.org/message-id/005401c39474$db9cf640$7502a8c0@hdsc.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-sql@postgresql.org
  Cc: sgnerd@yahoo.com.sg
  Subject: Re: Object description at Client Window
  In-Reply-To: <005401c39474$db9cf640$7502a8c0@hdsc.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