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

Re: pgsql: plpython: Add SPI cursor support

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Peter Geoghegan <peter(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jan Urbański <wulczer(at)wulczer(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-committers(at)postgresql(dot)org, Steve Singer <ssinger(at)ca(dot)afilias(dot)info>
Subject: Re: pgsql: plpython: Add SPI cursor support
Date: 2012-01-10 09:56:30
Message-ID: CA+OCxoxfYdN+bGUURe0eW8yD=aEKTe=3RtWZqH1bm=j2S8Mivg@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
On Mon, Jan 9, 2012 at 5:32 PM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>
>
> On 01/09/2012 12:13 PM, Peter Geoghegan wrote:
>>
>> On 9 January 2012 17:06, Dave Page<dpage(at)pgadmin(dot)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

Attachment: py.txt.gz
Description: application/x-gzip (21.5 KB)

In response to

Responses

pgsql-hackers by date

Next:From: Kohei KaiGaiDate: 2012-01-10 11:28:14
Subject: [v9.2] Add GUC sepgsql.client_label
Previous:From: Heikki LinnakangasDate: 2012-01-10 09:29:58
Subject: Re: [PATCH] Allow breaking out of hung connection attempts

pgsql-committers by date

Next:From: Andrew DunstanDate: 2012-01-10 14:28:58
Subject: Re: pgsql: plpython: Add SPI cursor support
Previous:From: User FxjrDate: 2012-01-10 03:14:13
Subject: npgsql - Npgsql2: Fixed tabulation.

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