Re: Selecting strict, immutable text for a composite type.

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Selecting strict, immutable text for a composite type.
Дата
Msg-id CAKFQuway0Ou49jvzNv_Wpe_zT-yNp5Tuu6JucKsSGb5UKeXBYg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Selecting strict, immutable text for a composite type.  (Steven Lembark <lembark@wrkhors.com>)
Список pgsql-general
On Thursday, May 10, 2018, Steven Lembark <lembark@wrkhors.com> wrote:
Q: Why does it work with enums?

Guessing because enums are not composites; they are scalar and most scalar types in core seem to be covered by the extension.
 
e.g., If I create a type foo_t as enum (...) and install the function
foo_text on foo_t the gist works. 

You should ifnd it works even without the existence of the foo_text function.

David J.

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

Предыдущее
От: Steven Lembark
Дата:
Сообщение: Re: Selecting strict, immutable text for a composite type.
Следующее
От: Ben Hood
Дата:
Сообщение: Re: Domain based on TIMEZONE WITH TIME ZONE