New/Custom DataType - Altering definition / seeing definition in pgAdmin3

From: Ow Mun Heng <Ow(dot)Mun(dot)Heng(at)wdc(dot)com>
To: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: New/Custom DataType - Altering definition / seeing definition in pgAdmin3
Date: 2007-09-17 00:32:04
Message-ID: 1189989124.14185.3.camel@neuromancer.home.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I've created a new custom datatype

eg:

create type foo as (
id smallint
data1 int
data2 int
)

to view the datatype in psql I do
=> \d foo

what is the equilvalent on pgadmin3 or any other SQL query tool?

As i understand from the docs, I can't alter / change the datatype
definition. If I need to change it, I need to drop it and re-create it
again. Correct me if I'm wrong.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ow Mun Heng 2007-09-17 01:21:22 help w/ SRF function
Previous Message Andrew Maclean 2007-09-17 00:02:59 Re: Documentation fix regarding atan2