aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayutils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-03-09 22:34:49 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-03-09 22:34:49 +0000
commitb943a8c90ab5774ea871aee878992b084d18bb13 (patch)
treef348766cc1d29e47cdd8e6ec8ac5b9a17c290716 /src/backend/utils/adt/arrayutils.c
parentc0766985ba1f0e64fe2b8f28bae2835556baca2d (diff)
downloadpostgresql-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