Skip site navigation (1) Skip section navigation (2)

Re: PL/Python warnings in CVS HEAD

From: "Marko Kreen" <markokr(at)gmail(dot)com>
To: "Bruce Momjian" <bruce(at)momjian(dot)us>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Neil Conway" <neilc(at)samurai(dot)com>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PL/Python warnings in CVS HEAD
Date: 2007-04-03 15:14:29
Message-ID: e51f66da0704030814o45a8ce14tff05cad39eaf6358@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On 4/3/07, Marko Kreen <markokr(at)gmail(dot)com> wrote:
> On 4/3/07, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> > Great.  Care to take on the Python boolean patch?
> >
> >       o Allow PL/PythonU to return boolean rather than 1/0

I think this should be also solved with backwards-compat ifdef.

Tested with python 2.2, 2.3, 2.4, 2.5.

-- 
marko

Attachment: py-bool.diff
Description: application/octet-stream (1.1 KB)

In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2007-04-03 15:17:41
Subject: Re: Implicit casts to text
Previous:From: Peter EisentrautDate: 2007-04-03 15:10:02
Subject: Re: Implicit casts to text

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group