pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Sergey Konoplev <gray.ru@gmail.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Cc: Maxim Boguk <maxim.boguk@gmail.com>
Cc: Максим Панченко <Panchenko@gw.tander.ru>
Cc: Соболев Виталий Анатольевич <sobolev_va@gw.tander.ru>
Cc: Сизов Сергей Павлович <sizov_sp@gw.tander.ru>
Cc: Мельковский Владимир Ярославович <Melkovskiy@gw.tander.ru>
Subject: Re: [BUG] Segmentation fault in pfree in PLy_output_tuple_funcs
Date: Tue, 10 Dec 2013 18:17:32 -0300
Message-ID: <20131210211732.GS6777@eldon.alvh.no-ip.org> (raw)
In-Reply-To: <CAL_0b1vwvr4_9jxm8s8WojmCbdM4-7yAFRw0==8AZhGvLB7wdA@mail.gmail.com>
References: <CAL_0b1vwvr4_9jxm8s8WojmCbdM4-7yAFRw0==8AZhGvLB7wdA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (6+ messages)  latest in thread

Message-ID: <20131210211732.GS6777@eldon.alvh.no-ip.org>
Permalink:  ../20131210211732.GS6777@eldon.alvh.no-ip.org/
Also on:    postgresql.org/message-id/20131210211732.GS6777@eldon.alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: alvherre@2ndquadrant.com, gray.ru@gmail.com, maxim.boguk@gmail.com, Panchenko@gw.tander.ru, sobolev_va@gw.tander.ru, sizov_sp@gw.tander.ru, Melkovskiy@gw.tander.ru
  Subject: Re: [BUG] Segmentation fault in pfree in PLy_output_tuple_funcs
  In-Reply-To: <20131210211732.GS6777@eldon.alvh.no-ip.org>
  References: <CAL_0b1vwvr4_9jxm8s8WojmCbdM4-7yAFRw0==8AZhGvLB7wdA@mail.gmail.com> <20131210211732.GS6777@eldon.alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox