Re: question about information_schema

From: Kris Jurka <books(at)ejurka(dot)com>
To: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: question about information_schema
Date: 2004-05-18 14:06:36
Message-ID: Pine.BSO.4.56.0405180903100.18170@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 18 May 2004, Dave Cramer wrote:

> If I do create type testint8 as (i int8) and then select typbasetype
> from pg_type where typname='testint8' the value is 0?

You've created a complex type here, not a domain. See typtype and
typrelid for this case.

create domain testint8 as int8; will do what you were expecting.

Kris Jurka

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Treat 2004-05-18 14:10:19 Re: Call for 7.5 feature completion
Previous Message Jan Wieck 2004-05-18 13:46:19 Re: Relocatable installs