summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorTom Lane2019-08-04 18:05:34 +0000
committerTom Lane2019-08-04 18:05:34 +0000
commite0f5048851ff88a53630a0c121a1cd15f6a2f1cd (patch)
treec0737bb205b2b080b69a23068b9dffa70b98a76b /src/backend/access/gist/gistget.c
parent803466b6ffaa2e5b94d8ce4d7fffa8185f2a0184 (diff)
Fix handling of "undef" in contrib/jsonb_plperl.
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/[email protected]
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions