pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rajesh Kumar Mallah <mallah@trade-india.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: seeing type defination..
Date: Thu, 08 May 2003 10:14:44 -0400
Message-ID: <20003.1052403284@sss.pgh.pa.us> (raw)
In-Reply-To: <200305081145.26591.mallah@trade-india.com>
References: <200305081145.26591.mallah@trade-india.com>

Rajesh Kumar Mallah <mallah@trade-india.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




view thread (5+ messages)  latest in thread

Message-ID: <20003.1052403284@sss.pgh.pa.us>
Permalink:  ../20003.1052403284@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20003.1052403284@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, mallah@trade-india.com
  Subject: Re: seeing type defination..
  In-Reply-To: <20003.1052403284@sss.pgh.pa.us>

* 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