| От | David E. Wheeler |
|---|---|
| Тема | Segfault from PL/Perl Returning vstring |
| Дата | |
| Msg-id | 3710576A-52D4-464A-AF12-93E570B35E55@kineticode.com обсуждение |
| Ответы |
Re: Segfault from PL/Perl Returning vstring
|
| Список | pgsql-hackers |
At least I think it's a segfault. This function returns a vstring: CREATE OR REPLACE FUNCTION wtf( ) RETURNS text LANGUAGE plperl IMMUTABLE STRICT AS $X$ return $^V; $X$; Here's what happens when I call it: try=# select wtf(); server closed the connection unexpectedlyThis probably means the server terminated abnormallybefore or while processing therequest. The connection to the server was lost. Attempting reset: Failed. !> So I think that it doesn't know what to do with vstrings. They should probably never be returned (they're mostly deprecated),but if they are, they should be cast to text, I think. Best, David
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера