Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

Next:From: Brandon AikenDate: 2007-01-25 15:03:36
Subject: Re: Table Meta-Data
Previous:From: brian stapelDate: 2007-01-25 14:51:58
Subject: Record Availability

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group