Re: [SQL] How to have the types definition table ?

From: secret <secret(at)kearneydev(dot)com>
To: Olivier Ertz <ertz(at)illite(dot)u-strasbg(dot)fr>
Cc: "pgsql-sql(at)postgreSQL(dot)org" <pgsql-sql(at)postgreSQL(dot)org>
Subject: Re: [SQL] How to have the types definition table ?
Date: 1999-07-06 14:51:51
Message-ID: 37821807.8564B52C@kearneydev.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Olivier Ertz wrote:

> Hello,
>
> how can i see the definition of a table, i mean name column with
> type column, column size ... ?
>
> Thank you for answering
> --
> ERTZ Olivier - ertz(at)illite(dot)u-strasbg(dot)fr - Tel 03 88 35 85 87
> ------------------------------------------------------------
> Etudiant DESS Informatique | Stagiaire EOST/ULP-CGS
> Universite Louis Pasteur | Ecole et Observatoire des
> STRASBOURG - France | Sciences de la Terre
> ------------------------------------------------------------
> World Wide Web : http://dess-info.u-strasbg.fr/~ertz
> ------------------------------------------------------------

>From psql: \d tablename
ftc=> \d z

Table = z
+----------------------------------+----------------------------------+-------+

| Field | Type |
Length|
+----------------------------------+----------------------------------+-------+

| a | float8 |
8 |
| b | money |
4 |
+----------------------------------+----------------------------------+-------+

David Secret
MIS Director
Kearney Development Co., Inc.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Eid, Bilal 1999-07-06 18:42:47 Large Objects
Previous Message Olivier Ertz 1999-07-06 14:32:28 How to have the types definition table ?