Re: question about information_schema

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: question about information_schema
Дата
Msg-id Pine.BSO.4.56.0405180903100.18170@leary.csoft.net
обсуждение исходный текст
Ответ на question about information_schema  (Dave Cramer <pg@fastcrypt.com>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: Relocatable installs
Следующее
От: Robert Treat
Дата:
Сообщение: Re: Call for 7.5 feature completion