Re: [HACKERS] Fix for bug in plpython bool type conversion

2007-01-25 Thread Bruce Momjian
I have had to reverse out this patch because Py_RETURN_TRUE is only supported in Python versions >= 2.3, and we support older versions. I did add a comment: * We would like to use Py_RETURN_TRUE and Py_RETURN_FALSE here for * generating SQL from trigger functions, but those are only *

Re: [HACKERS] Fix for bug in plpython bool type conversion

2007-01-24 Thread Bruce Momjian
Patch applied. Thanks. --- Guido Goldstein wrote: > Hi! > > The attached patch fixes a bug in plpython. > > This bug was found while creating sql from trigger functions > written in plpython and later running the generat

Re: [HACKERS] Fix for bug in plpython bool type conversion

2007-01-19 Thread Bruce Momjian
Your patch has been added to the PostgreSQL unapplied patches list at: http://momjian.postgresql.org/cgi-bin/pgpatches It will be applied as soon as one of the PostgreSQL committers reviews and approves it. --- Gu