improve type conversion of SPI_processed in Python

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема improve type conversion of SPI_processed in Python
Дата
Msg-id 04b999c9-1d44-1dfc-0454-22c057d42c2c@2ndquadrant.com
обсуждение исходный текст
Ответы Re: improve type conversion of SPI_processed in Python  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Here is a patch to improves how PL/Python deals with very large values
of SPI_processed.  The previous code converts anything that does not fit
into a C long into a Python float.  But Python long has unlimited
precision, so we should be using that instead.  And in Python 3, int and
long as the same, so there is no need to deal with any variations anymore.

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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Using ProcSignal to get memory context stats from a running backend
Следующее
От: David Fetter
Дата:
Сообщение: Re: WIP: a way forward on bootstrap data