Re: pgsql: plpython: Add SPI cursor support

Dave Page <dpage@pgadmin.org>

From: Dave Page <dpage@pgadmin.org>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Peter Geoghegan <peter@2ndquadrant.com>, Tom Lane <tgl@sss.pgh.pa.us>, 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-10T09:56:30Z
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 →
  1. plpython: Add SPI cursor support

Attachments

On Mon, Jan 9, 2012 at 5:32 PM, Andrew Dunstan <andrew@dunslane.net> wrote:
>
>
> On 01/09/2012 12:13 PM, Peter Geoghegan wrote:
>>
>> On 9 January 2012 17:06, Dave Page<dpage@pgadmin.org>  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/docs/gccintro/gccintro_36.html
>
>
>
> Yeah, something like
>
>    gcc -E -I/usr/include/python2.7/ -include Python.h
> /usr/include/python2.7/object.h
>
> adjusted for your paths should do it.

Thanks - pfa.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company