| От | Tom Lane |
|---|---|
| Тема | Re: Function returns wrong data after datatype change |
| Дата | |
| Msg-id | 2978.1169659473@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Function returns wrong data after datatype change (Jeff Trout <threshar@torgo.978.org>) |
| Ответы |
Re: Function returns wrong data after datatype change
|
| Список | pgsql-bugs |
Jeff Trout <threshar@threshar.is-a-geek.com> writes:
> I just ran across this, and I do not think it is entirely a PG bug or
> even something that the backend can detect and handle.
> The problem stems from swapping a table definition from under a
> function.
Hmm. This should yield an error (SQL function not returning the type
it claims to), and we probably should plug the hole by invoking
check_sql_fn_retval every time not just at creation.
I thought you were about to complain about plpgsql, which has much worse
problems due to plan caching...
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера