Re: Compatibility types, type aliases, and distinct types
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Compatibility types, type aliases, and distinct types |
| Дата | |
| Msg-id | 18739.1219069576@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Compatibility types, type aliases, and distinct types (Peter Eisentraut <peter_e@gmx.net>) |
| Ответы |
Re: Compatibility types, type aliases, and distinct types
|
| Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes:
> So while thinking about how to make this simpler I remembered the "distinct
> type" feature of SQL, which works quite similarly, namely the new type has
> the same structure as the old type, but is a separate entity. It looks like
> CREATE TYPE newtype AS oldtype;
> This feature by itself could be quite useful, and then we could simply add
> something like
> CREATE TYPE newtype AS oldtype WITH CASTS;
This seems like a great way to get lost in "ambiguous function" hell ...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера