Re: pgsql: plpython: Add SPI cursor support
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Dave Page <dpage@pgadmin.org>, Jan Urbański <wulczer@wulczer.org>, Peter Eisentraut <peter_e@gmx.net>, pgsql-committers@postgresql.org, Steve Singer <ssinger@ca.afilias.info>
Date: 2012-01-09T16:57:26Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
plpython: Add SPI cursor support
- 89e850e6fda9 9.2.0 cited
Andrew Dunstan <andrew@dunslane.net> 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 you > should just take --with-python out of the buildfarm settings. I'm wondering what PyAPI_FUNC() expands to on Dave's machine. In my copy of pyport.h, there's a rat's nest of cygwin-related tests that may or may not lead to including "extern" and/or "__declspec" in that macro. I think possibly the wrong combination might lead to failures of this ilk? regards, tom lane