X-Original-To: pgsql-sql@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 5661C47636B for ; Thu, 8 May 2003 10:14:41 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 9060B474E4F for ; Thu, 8 May 2003 10:14:40 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h48EEiU6020004; Thu, 8 May 2003 10:14:44 -0400 (EDT) To: Rajesh Kumar Mallah Cc: pgsql-sql@postgresql.org Subject: Re: seeing type defination.. In-reply-to: <200305081145.26591.mallah@trade-india.com> References: <200305081145.26591.mallah@trade-india.com> Comments: In-reply-to Rajesh Kumar Mallah message dated "Thu, 08 May 2003 11:45:26 +0530" Date: Thu, 08 May 2003 10:14:44 -0400 Message-ID: <20003.1052403284@sss.pgh.pa.us> From: Tom Lane X-Spam-Status: No, hits=-29.1 required=5.0 tests=BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/165 X-Sequence-Number: 13330 Rajesh Kumar Mallah 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