Re: BUG #15599: Segfault at MakeExpandedObjectReadOnlyInternal
В списке pgsql-bugs по дате отправления:
| От | Alexander Lakhin |
|---|---|
| Тема | Re: BUG #15599: Segfault at MakeExpandedObjectReadOnlyInternal |
| Дата | |
| Msg-id | aa4cba3c-a911-2334-eec2-826c0d53b8f5@gmail.com обсуждение |
| Ответ на | Re: BUG #15599: Segfault at MakeExpandedObjectReadOnlyInternal (Andrew Gierth <andrew@tao11.riddles.org.uk>) |
| Список | pgsql-bugs |
19.01.2019 13:20, Andrew Gierth wrote: > PG> The PostgreSQL server crashes with the following query (excerpt > PG> from regression test, run it after `make check`): > > Not a bug. > > PG> CREATE FUNCTION overpaid(emp) > PG> RETURNS hobbies_r > PG> AS '/src/postgres/src/test/regress/regress.so' > PG> LANGUAGE C STRICT; > > "overpaid" in regress.so returns a boolean scalar, not a row of any > kind. It is the responsibility of the person issuing CREATE FUNCTION for > a C-language function to get the types right; if they are wrong, it can > (as you observed) crash the server, which is why this action is > restricted to database superusers. Hello Andrew, Thank you for the explanation. I will take this into account. Best regards, Alexander
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера