| От | Tom Lane |
|---|---|
| Тема | Re: Function returns wrong data after datatype change |
| Дата | |
| Msg-id | 4050.1169665463@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Function returns wrong data after datatype change (Jeff Trout <threshar@torgo.978.org>) |
| Список | pgsql-bugs |
Jeff Trout <threshar@threshar.is-a-geek.com> writes:
> On Jan 24, 2007, at 12:24 PM, Tom Lane wrote:
>> 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.
> The really curious thing is that it does't complain when restoring
> from the dump - or are those error supressed?
Yeah, pg_dump sets check_function_bodies = off. It more or less has to
because it can't understand the function contents well enough to know
what objects would need to be loaded first (and in fact there might be
no solution --- consider two mutually recursive functions ...)
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера