Re: [BUG] Segmentation fault in pfree in PLy_output_tuple_funcs - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: [BUG] Segmentation fault in pfree in PLy_output_tuple_funcs
Date
Msg-id 20131210211732.GS6777@eldon.alvh.no-ip.org
Whole thread Raw
In response to [BUG] Segmentation fault in pfree in PLy_output_tuple_funcs  (Sergey Konoplev <gray.ru@gmail.com>)
Responses Re: [BUG] Segmentation fault in pfree in PLy_output_tuple_funcs  (Sergey Konoplev <gray.ru@gmail.com>)
List pgsql-bugs
Sergey Konoplev escribió:

> Yesterday we faced a segfault on a simple PL/Python function's call:
>
> CREATE OR REPLACE FUNCTION test_test()
> RETURNS TABLE("Идентификтор" int, "Гос. номер" varchar) AS
> $BODY$
> import time
> cars = plpy.prepare("""
>     select id, ident_code from cars limit 100
> """)

What's the likelihood that table "cars" was being modified concurrently?


--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

pgsql-bugs by date:

Previous
From: Sergey Konoplev
Date:
Subject: [BUG] Segmentation fault in pfree in PLy_output_tuple_funcs
Next
From: Sergey Konoplev
Date:
Subject: Re: [BUG] Segmentation fault in pfree in PLy_output_tuple_funcs