pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sergey Konoplev <gray.ru@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.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 17:36:47 -0500
Message-ID: <11347.1386715007@sss.pgh.pa.us> (raw)
In-Reply-To: <CAL_0b1t8VLnPW-5D-FcTozhK=DDcNDU2vZehOM5U2n=HjF-Yag@mail.gmail.com>
References: <CAL_0b1vwvr4_9jxm8s8WojmCbdM4-7yAFRw0==8AZhGvLB7wdA@mail.gmail.com>
	<20131210211732.GS6777@eldon.alvh.no-ip.org>
	<CAL_0b1t8VLnPW-5D-FcTozhK=DDcNDU2vZehOM5U2n=HjF-Yag@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Sergey Konoplev <gray.ru@gmail.com> writes:
> On Tue, Dec 10, 2013 at 1:17 PM, Alvaro Herrera
> <alvherre@2ndquadrant.com> wrote:
>> What's the likelihood that table "cars" was being modified concurrently?

> It is rather high. Probably even very high.

This doesn't smell like that's an issue though ...

Just eyeballing the code, I don't see how set-returning plpython functions
work at all.  Ever.  It looks like they allocate a bunch of stuff in the
SPI procedure context and expect it to still be there on the next call.
Why isn't this code falling over in any assert-enabled build?

			regards, tom lane


-- 
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: <11347.1386715007@sss.pgh.pa.us>
Permalink:  ../11347.1386715007@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11347.1386715007@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, gray.ru@gmail.com, alvherre@2ndquadrant.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: <11347.1386715007@sss.pgh.pa.us>
  References: <CAL_0b1vwvr4_9jxm8s8WojmCbdM4-7yAFRw0==8AZhGvLB7wdA@mail.gmail.com> <20131210211732.GS6777@eldon.alvh.no-ip.org> <CAL_0b1t8VLnPW-5D-FcTozhK=DDcNDU2vZehOM5U2n=HjF-Yag@mail.gmail.com> <11347.1386715007@sss.pgh.pa.us>

* 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