Re: Transform for pl/perl - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Transform for pl/perl
Date
Msg-id cf26408a-c01f-03c4-5df3-edf2e81ef526@2ndquadrant.com
Whole thread Raw
In response to Re: Transform for pl/perl  (ilmari@ilmari.org (Dagfinn Ilmari Mannsåker))
Responses Re: Transform for pl/perl
List pgsql-hackers
These two items are now outstanding:

On 4/10/18 07:33, Dagfinn Ilmari Mannsåker wrote:
> 2) jsonb scalar values are passed to the plperl function wrapped in not
>    one, but _two_ layers of references

I don't understand this one, or why it's a problem, or what to do about it.

> 3) jsonb numeric values are passed as perl's NV (floating point) type,
>    losing precision if they're integers that would fit in an IV or UV.

This seems fixable, but perhaps we need to think through whether this
will result in other strange behaviors.

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


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Transform for pl/perl
Next
From: Fabrízio Mello
Date:
Subject: Re: proposal: schema variables