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
|
Список | 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 по дате отправления: