Re: plpython improvements - Mailing list pgsql-patches

From Sven Suursoho
Subject Re: plpython improvements
Date
Msg-id op.s8t4gl1tplgmb3@localhost
Whole thread Raw
In response to Re: plpython improvements  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Sun, 30 Apr 2006 21:43:03 +0300, Tom Lane <tgl@sss.pgh.pa.us>:

> "Sven Suursoho" <sven@spam.pri.ee> writes:
>> So, what about this in configure:
>> if --with-python && test_iterator_app_crashes
>>    # errcode(FEATURE_NOT_SUPPORTED), errmsg(patch your python)
>>    disable_iterator_feature
>> fi
>
> Testing it in configure is wrong, because there's no guarantee the same
> python library will be used at runtime.

Yes, that's right.

Ok, will do Py_DEBUG && Py_GetVersion() check at runtime.


--
Sven Suursoho

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: plpython improvements
Next
From: "Jaime Casanova"
Date:
Subject: fori stmt with by keyword was:(Re: [HACKERS] for statement, adding a STEP clause?)