Re: Table Meta-Data

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Table Meta-Data
Date: 2007-01-25 14:57:48
Message-ID: 20070125145748.GF22980@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

am Thu, dem 25.01.2007, um 7:38:35 -0600 mailte Greg Lindstrom folgendes:
> Hello,
>
> I am running Postgres 8.0 on a Gento Box and would like to access the
> information about the tables in my database. How do I access the column
> names, data types, comments, etc?

Inside psql you can use \d table and some other commands, listed with
\?.

If you start psql with -E, you can see the underlaying SQL-commnds to
retrieve this informations.

Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Brandon Aiken 2007-01-25 15:03:36 Re: Table Meta-Data
Previous Message brian stapel 2007-01-25 14:51:58 Record Availability