mirror of
https://github.com/zebrajr/postgres.git
synced 2025-12-06 12:20:15 +01:00
Perl has multiple internal representations of "undef", and just testing for SvTYPE(x) == SVt_NULL doesn't recognize all of them, leading to "cannot transform this Perl type to jsonb" errors. Use the approved test SvOK() instead. Report and patch by Ivan Panchenko. Back-patch to v11 where this module was added. Discussion: https://postgr.es/m/1564783533.324795401@f193.i.mail.ru |
||
|---|---|---|
| .. | ||
| expected | ||
| sql | ||
| .gitignore | ||
| jsonb_plperl--1.0.sql | ||
| jsonb_plperl.c | ||
| jsonb_plperl.control | ||
| jsonb_plperlu--1.0.sql | ||
| jsonb_plperlu.control | ||
| Makefile | ||