Re: VARIANT / ANYTYPE datatype

Поиск
Список
Период
Сортировка
От Darren Duncan
Тема Re: VARIANT / ANYTYPE datatype
Дата
Msg-id 4DCAE2AB.6060309@darrenduncan.net
обсуждение исходный текст
Ответ на Re: VARIANT / ANYTYPE datatype  (Darren Duncan <darren@darrenduncan.net>)
Список pgsql-hackers
To follow-up my earlier comments ...

I suspect for practical purposes we may want to limit the scope of some type 
features.

For example, the greatest benefits for "open union" / "mixin" types is with 
routines/operators, not so much with tables.

So, Pg could choose to support open unions but only for routines, where the 
declared types of table columns must still be other types.  Then you don't have 
to worry about searching your data for where one might be used, but only search 
your system catalog for routines/operators that use it.

But closed unions should be supported in tables too.

-- Darren Duncan



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

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: Re: 4.1beta1: ANYARRAY disallowed for DOMAIN types which happen to be arrays
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Patch to allow domains over composite types