Re: Jsonb transform for pl/python

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Jsonb transform for pl/python
Дата
Msg-id 786ad675-29c5-5acb-9d87-c3609689bf7d@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Jsonb transform for pl/python  (Nikita Glukhov <n.gluhov@postgrespro.ru>)
Ответы Re: Jsonb transform for pl/python  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 6/23/18 01:44, Nikita Glukhov wrote:
> We are simply trying first to convert numeric to int64 if is does not have
> digits after the decimal point, and then construct Python Int instead of
> Decimal.  Standard Python json.loads() does the same for exact integers.

We just had a very similar but not identical discussion in the thread
about the PL/Perl transforms, where we rejected the proposal.  Other
comments on this one?

In any case, this might well be a consideration for PG12, not a bug in
the existing implementation.

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


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: SCRAM with channel binding downgrade attack
Следующее
От: Gilles Darold
Дата:
Сообщение: Re: [HACKERS] proposal: schema variables