| От | Rod Taylor |
|---|---|
| Тема | Re: Domains and type coercion |
| Дата | |
| Msg-id | 00d801c1cf92$b75f8570$5302000a@jester обсуждение исходный текст |
| Ответ на | Domains and type coercion (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
> I am thinking that a non-broken approach would involve (1) treating > a domain as binary-compatible with its base type, and therefore with > all other domains on the same base type, and (2) allowing a coercion > function that produces the base type to be used to produce the domain > type. (The patch tries to do (2), but does it in the wrong places, > leading to the mislabeled-expression problem.) 2 was the goal, and it worked enough for any default expression I could come up with -- so I thought it did pretty good. Guess not. It should be binary equivelent to the base type it's made out of.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера