Re: Transform for pl/perl

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Transform for pl/perl
Дата
Msg-id ba47d0fe-43b2-c19c-810d-5c35ddf443bd@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Transform for pl/perl  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Ответы Re: Transform for pl/perl  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 4/24/18 14:31, Andrew Dunstan wrote:
> There is the routine IsValidJsonNumber that helps - see among others
> hstore_io.c for an example use.

I would need something like that taking a double/float8 input.  But I
think there is no such shortcut available, so I just wrote out the tests
for isinf and isnan explicitly.  Attached patch should fix it.
jsonb_plpython will need a similar fix.

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

Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Moving relation extension locks out of heavyweight lock manager
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: obsoleting plpython2u and defaulting plpythonu to plpython3u