pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: VG <vikasraigupta@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Desc Commnad in pgsql?
Date: Thu, 17 Apr 2008 09:59:15 +0100
Message-ID: <48071163.90706@archonet.com> (raw)
In-Reply-To: <c4fdd6d00804170147t6519649ldbaa5660302df3be@mail.gmail.com>
References: <c4fdd6d00804170146l7aa56dbdy6a4ec006ad5eedc4@mail.gmail.com>
	<c4fdd6d00804170147t6519649ldbaa5660302df3be@mail.gmail.com>

VG wrote:
> Hello All,
> 
> I like to know how can I achieve the same functionality that is give by desc
> commnad in mysql or oracle.

http://www.postgresql.org/docs/8.3/static/app-psql.html

See the \d command, e.g. "\d mytable"

There are many different backslash commands that can give you details on 
tables, views, functions, schemas etc.

> Also specify me the book related to pgsql as a beginner.

http://www.postgresql.org/docs/8.3/static/index.html
http://www.postgresql.org/docs/books/

> Presently my task is going to be communication of ruby with pgsql

Start here I suppose:
http://rubyforge.org/projects/ruby-pg/

-- 
   Richard Huxton
   Archonet Ltd



view thread (6+ messages)  latest in thread

Message-ID: <48071163.90706@archonet.com>
Permalink:  ../48071163.90706@archonet.com/
Also on:    postgresql.org/message-id/48071163.90706@archonet.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: dev@archonet.com, vikasraigupta@gmail.com
  Subject: Re: Desc Commnad in pgsql?
  In-Reply-To: <48071163.90706@archonet.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