diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-03-09 22:34:49 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-03-09 22:34:49 +0000 |
commit | b943a8c90ab5774ea871aee878992b084d18bb13 (patch) | |
tree | f348766cc1d29e47cdd8e6ec8ac5b9a17c290716 /src/backend/utils/adt/arrayutils.c | |
parent | c0766985ba1f0e64fe2b8f28bae2835556baca2d (diff) | |
download | postgresql-b943a8c90ab5774ea871aee878992b084d18bb13.tar.gz postgresql-b943a8c90ab5774ea871aee878992b084d18bb13.zip |
Use SvROK(sv) rather than directly checking SvTYPE(sv) == SVt_RV in plperl.
The latter is considered unwarranted chumminess with the implementation,
and can lead to crashes with recent Perl versions.
Report and fix by Tim Bunce. Back-patch to all versions containing the
questionable coding pattern.
Diffstat (limited to 'src/backend/utils/adt/arrayutils.c')
0 files changed, 0 insertions, 0 deletions