| From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: improve type conversion of SPI_processed in Python |
| Date: | 2018-01-20 13:21:19 |
| Message-ID: | e580151b-6bee-b2c3-bf73-a28beb00024b@2ndquadrant.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Kapila | 2018-01-20 13:24:45 | Re: [HACKERS] GSoC 2017: weekly progress reports (week 4) and patch for hash index |
| Previous Message | Magnus Hagander | 2018-01-20 12:51:12 | Re: [HACKERS] log_destination=file |