| От | Tom Lane |
|---|---|
| Тема | Re: CREATE CAST too strict? |
| Дата | |
| Msg-id | 2447.1215704055@sss.pgh.pa.us обсуждение |
| Ответ на | Re: CREATE CAST too strict? (Peter Eisentraut <peter_e@gmx.net>) |
| Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes:
> Am Mittwoch, 9. Juli 2008 schrieb Peter Eisentraut:
>> I propose that we relax these two checks to test for binary-coercibility
>> instead, which is effectively what is expected and required here anyway.
> Here is the corresponding patch.
Looks good, but you might want to add a sentence to the documentation
pointing out that the function result type has to match the cast target
type; that seems not to be explicitly stated anywhere.
I also notice that the CREATE CAST page is still worded as if "binary
compatible" were a symmetric relationship, which it is not. We probably
need to rework it a bit; but that's not really related to this patch.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера