Re: seeing type defination..

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rajesh Kumar Mallah <mallah(at)trade-india(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: seeing type defination..
Date: 2003-05-08 14:14:44
Message-ID: 20003.1052403284@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Rajesh Kumar Mallah <mallah(at)trade-india(dot)com> writes:
> psql> CREATE TYPE mytype AS (a1 int, a2 varchar(100)) ;

> is there any way to see the constitution of "mytype"
> at a later date?

regression=# CREATE TYPE mytype AS (a1 int, a2 varchar(100)) ;
CREATE TYPE
regression=# \d mytype
Composite type "public.mytype"
Column | Type
--------+------------------------
a1 | integer
a2 | character varying(100)

regression=#

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Jon Earle 2003-05-08 14:18:03 Re: PostgreSQL Qs
Previous Message Bryan Klimt 2003-05-08 13:58:24 insert rowtype