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