Re: [COMMITTERS] pgsql: plpython: Add SPI cursor support

2012-01-10 Thread Dave Page
On Tue, Jan 10, 2012 at 2:28 PM, Andrew Dunstan wrote: > > > On 01/10/2012 04:56 AM, Dave Page wrote: >> >> On Mon, Jan 9, 2012 at 5:32 PM, Andrew Dunstan >>  wrote: >>> >>> >>> On 01/09/2012 12:13 PM, Peter Geoghegan wrote: On 9 January 2012 17:06, Dave Page    wrote: > > Is the

Re: [COMMITTERS] pgsql: plpython: Add SPI cursor support

2012-01-10 Thread Andrew Dunstan
On 01/10/2012 04:56 AM, Dave Page wrote: On Mon, Jan 9, 2012 at 5:32 PM, Andrew Dunstan wrote: On 01/09/2012 12:13 PM, Peter Geoghegan wrote: On 9 January 2012 17:06, Dave Pagewrote: Is there a way I can get gcc to spit out the expanded definition in a readable format that you know of?

Re: [COMMITTERS] pgsql: plpython: Add SPI cursor support

2012-01-10 Thread Dave Page
On Mon, Jan 9, 2012 at 5:32 PM, Andrew Dunstan wrote: > > > On 01/09/2012 12:13 PM, Peter Geoghegan wrote: >> >> On 9 January 2012 17:06, Dave Page  wrote: >>> >>> Is there a way I can get gcc to spit out the expanded definition in a >>> readable format that you know of? >> >> Yes. Figure out what

Re: [COMMITTERS] pgsql: plpython: Add SPI cursor support

2012-01-09 Thread Peter Eisentraut
On mån, 2012-01-09 at 17:06 +, Dave Page wrote: > Is there a way I can get gcc to spit out the expanded definition in a > readable format that you know of? make plpy_cursorobject.i -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscript

Re: [COMMITTERS] pgsql: plpython: Add SPI cursor support

2012-01-09 Thread Andrew Dunstan
On 01/09/2012 12:13 PM, Peter Geoghegan wrote: On 9 January 2012 17:06, Dave Page wrote: Is there a way I can get gcc to spit out the expanded definition in a readable format that you know of? Yes. Figure out what flags gcc is given when building the TU. Then, add the -E flag and see what is

Re: [COMMITTERS] pgsql: plpython: Add SPI cursor support

2012-01-09 Thread Peter Geoghegan
On 9 January 2012 17:06, Dave Page wrote: > Is there a way I can get gcc to spit out the expanded definition in a > readable format that you know of? Yes. Figure out what flags gcc is given when building the TU. Then, add the -E flag and see what is generated: http://www.network-theory.co.uk/doc

Re: [COMMITTERS] pgsql: plpython: Add SPI cursor support

2012-01-09 Thread Dave Page
On Mon, Jan 9, 2012 at 4:57 PM, Tom Lane wrote: > Andrew Dunstan writes: >> On 01/09/2012 10:52 AM, Dave Page wrote: >>> Yes, it's defined as such: >>> PyAPI_FUNC(PyObject *) PyObject_SelfIter(PyObject *); > >> Hmm. Well, at this stage I'm slightly inclined to say it's a compiler >> problem. That

Re: [COMMITTERS] pgsql: plpython: Add SPI cursor support

2012-01-09 Thread Tom Lane
Andrew Dunstan writes: > On 01/09/2012 10:52 AM, Dave Page wrote: >> Yes, it's defined as such: >> PyAPI_FUNC(PyObject *) PyObject_SelfIter(PyObject *); > Hmm. Well, at this stage I'm slightly inclined to say it's a compiler > problem. That's a pretty old compiler. If you can't upgrade it maybe

Re: [COMMITTERS] pgsql: plpython: Add SPI cursor support

2012-01-09 Thread Andrew Dunstan
On 01/09/2012 10:52 AM, Dave Page wrote: On Mon, Jan 9, 2012 at 3:35 PM, Andrew Dunstan wrote: On 12/14/2011 06:43 PM, Jan Urbański wrote: - Original message - On 12/05/2011 12:56 PM, Peter Eisentraut wrote: plpython: Add SPI cursor support Add a function plpy.cursor that is sim

Re: [COMMITTERS] pgsql: plpython: Add SPI cursor support

2012-01-09 Thread Dave Page
On Mon, Jan 9, 2012 at 3:35 PM, Andrew Dunstan wrote: > > > > On 12/14/2011 06:43 PM, Jan Urbański wrote: >> >> - Original message - >>> >>> On 12/05/2011 12:56 PM, Peter Eisentraut wrote: plpython: Add SPI cursor support Add a function plpy.cursor that is similar to pl

Re: [COMMITTERS] pgsql: plpython: Add SPI cursor support

2012-01-09 Thread Andrew Dunstan
On 12/14/2011 06:43 PM, Jan Urbański wrote: - Original message - On 12/05/2011 12:56 PM, Peter Eisentraut wrote: plpython: Add SPI cursor support Add a function plpy.cursor that is similar to plpy.execute but uses an SPI cursor to avoid fetching the entire result set into memory. Ja

Re: [COMMITTERS] pgsql: plpython: Add SPI cursor support

2011-12-14 Thread Tom Lane
Andrew Dunstan writes: > On 12/05/2011 12:56 PM, Peter Eisentraut wrote: >> plpython: Add SPI cursor support > This commit apparently caused a problem on buildfarm narwhal, which has > been failing for 8 days without anyone paying attention. Um, yes, some of us noticed: http://archives.postgres

Re: [COMMITTERS] pgsql: plpython: Add SPI cursor support

2011-12-14 Thread Andrew Dunstan
On 12/05/2011 12:56 PM, Peter Eisentraut wrote: plpython: Add SPI cursor support Add a function plpy.cursor that is similar to plpy.execute but uses an SPI cursor to avoid fetching the entire result set into memory. Jan Urbański, reviewed by Steve Singer This commit apparently caused a pr

Re: [COMMITTERS] pgsql: plpython: Add SPI cursor support

2011-12-05 Thread Bruce Momjian
Peter Eisentraut wrote: > plpython: Add SPI cursor support > > Add a function plpy.cursor that is similar to plpy.execute but uses an > SPI cursor to avoid fetching the entire result set into memory. > > Jan Urba?ski, reviewed by Steve Singer I assume this is _not_ related to this TODO item:

[COMMITTERS] pgsql: plpython: Add SPI cursor support

2011-12-05 Thread Peter Eisentraut
plpython: Add SPI cursor support Add a function plpy.cursor that is similar to plpy.execute but uses an SPI cursor to avoid fetching the entire result set into memory. Jan Urbański, reviewed by Steve Singer Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/89e850e6fda