Re: improve type conversion of SPI_processed in Python - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: improve type conversion of SPI_processed in Python
Date
Msg-id e580151b-6bee-b2c3-bf73-a28beb00024b@2ndquadrant.com
Whole thread Raw
In response to Re: improve type conversion of SPI_processed in Python  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 1/12/18 11:06, Tom Lane wrote:
>> Would that even be necessary?  Why not use the LongLong variant all the
>> time then?
> 
> I've not looked at the Python internals to see if one is noticeably faster
> than the other, but if it isn't, yeah we could simplify that.  In any case
> my main point is let's keep these two functions using similar approaches.

I ran extensive tests on this and went ahead with the simplified versions.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: [HACKERS] log_destination=file
Next
From: Amit Kapila
Date:
Subject: Re: [HACKERS] GSoC 2017: weekly progress reports (week 4) and patchfor hash index