Re: plpython improvements - Mailing list pgsql-patches

From Sven
Subject Re: plpython improvements
Date
Msg-id 1150524315.44939b9be413b@webmail.elion.ee
Whole thread Raw
In response to Re: plpython improvements  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: plpython improvements  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Quoting Bruce Momjian <pgman@candle.pha.pa.us>:

>
> Added to TODO:
>
>            o Allow PL/python to composite types and result sets
>              once buggy assert-enabled versions of python can be
detected

I actually tried to work other way around -- get all known buggy systems
fixed:
1) Debugging Python version: bug acknowledged, v2.5 fixed, v2.4 waiting
(http://sourceforge.net/tracker/index.php?func=detail&aid=1483133&group_id=5470&atid=105470)
2) Fedora: >=v5 fixed, will be backported to version 4 also
(https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=192592)

If this approach is not satisfactionary and assertion predetection is
still requested, only solution I see is to catch signal SIGABRT, set
flag, longjmp back and report error.
But I really don't like it.


--
Sven Suursoho

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: table/index fillfactor control, try 2
Next
From: Tom Lane
Date:
Subject: Re: plpython improvements