Re: Back-patch support for python 2.5? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Back-patch support for python 2.5?
Date
Msg-id 3064.1192389039@sss.pgh.pa.us
Whole thread Raw
In response to Re: Back-patch support for python 2.5?  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Back-patch support for python 2.5?
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane wrote:
>> I noticed that two of the buildfarm members are failing the 8.1
>> branch because they're trying to build plpython with python 2.5.  To
>> get that to work, I think we'd need to back-patch these two fixes:
>> http://archives.postgresql.org/pgsql-committers/2006-11/msg00165.php
>> http://archives.postgresql.org/pgsql-committers/2007-04/msg00043.php
>> Is that worth doing?  Should we go further back than 8.1?

> Those who need Python 2.5 can use PostgreSQL 8.2.

Not being a Python user, I don't really care.  I notice though that the
second of the above-mentioned patches is only in HEAD, which is why
those same machines are giving scary-looking warnings in the 8.2 branch,
eg wasp on 8.2:

ccache gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing-g -fpic -I. -I/usr/include/python2.5 -I../../../src/include -D_GNU_SOURCE  -I/usr/include/et  -c
-oplpython.o plpython.c
 
plpython.c:1996: warning: initialization from incompatible pointer type
plpython.c:1998: warning: 'intargfunc' is deprecated
plpython.c:1998: warning: initialization from incompatible pointer type
plpython.c:1999: warning: 'intargfunc' is deprecated
plpython.c:1999: warning: initialization from incompatible pointer type
plpython.c:2000: warning: 'intintargfunc' is deprecated
plpython.c:2000: warning: initialization from incompatible pointer type
plpython.c:2001: warning: initialization from incompatible pointer type
plpython.c:2002: warning: initialization from incompatible pointer type

Seems we should at least back-patch Marko's fixes into 8.2.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Back-patch support for python 2.5?
Next
From: Tom Lane
Date:
Subject: rolcanlogin vs. the flat password file