aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-03-09 22:34:38 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-03-09 22:34:38 +0000
commitdac7a37dd3c66ba8cf120d997ea1a1c9d6a0d99d (patch)
tree69b807c5a04d8751917ca4436ddd9bc965b21c26 /src/backend/access/gist/gistutil.c
parentff5ab91299ab2d9054d7571b2f7d931590288bd5 (diff)
downloadpostgresql-dac7a37dd3c66ba8cf120d997ea1a1c9d6a0d99d.tar.gz
postgresql-dac7a37dd3c66ba8cf120d997ea1a1c9d6a0d99d.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/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions