Re: pgsql: plpython: Add SPI cursor support

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Peter Geoghegan <peter(at)2ndquadrant(dot)com>
Cc: Dave Page <dpage(at)pgadmin(dot)org>, 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-09 17:32:51
Message-ID: 4F0B24C3.2070409@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

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.

cheers

andrew

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2012-01-09 18:05:56 Re: pgsql: plpython: Add SPI cursor support
Previous Message Magnus Hagander 2012-01-09 17:19:16 pgsql: Add .gitignore file for entab

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2012-01-09 18:05:56 Re: pgsql: plpython: Add SPI cursor support
Previous Message Kevin Grittner 2012-01-09 17:31:02 pgindent README correction