diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-03-09 22:34:38 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-03-09 22:34:38 +0000 |
commit | dac7a37dd3c66ba8cf120d997ea1a1c9d6a0d99d (patch) | |
tree | 69b807c5a04d8751917ca4436ddd9bc965b21c26 /src/backend/access/gist/gistutil.c | |
parent | ff5ab91299ab2d9054d7571b2f7d931590288bd5 (diff) | |
download | postgresql-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