Re: Where are user-defined types stored/viewed

From: Richard Huxton <dev(at)archonet(dot)com>
To: <btober(at)seaworthysys(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Where are user-defined types stored/viewed
Date: 2003-09-29 13:24:24
Message-ID: 200309291424.24647.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Monday 29 September 2003 13:35, btober(at)seaworthysys(dot)com wrote:
> After I execute a command like
>
> CREATE TYPE employee_wage_journal_sum AS (supplier_pk integer,
> employee_pk integer,
> hourly_dollars double precision,
> annual_dollars double precision);
>
> where does this definition get stored, and what query can I run to get
> teh definition back as output?
>
> I don't see the new type show up anywhere in pgAdminII.

In psql:
\d emplokee_wage_journal_sum

If you start psql with -E it will show you the query it uses to show this too.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Horak Daniel 2003-09-29 13:29:29 Re: CASE tools
Previous Message Richard Huxton 2003-09-29 13:22:23 Re: Time problem again?