diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-03-09 22:35:07 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-03-09 22:35:07 +0000 |
commit | 62513c3e559f5bd657b4670df2bcdf28fa4d7e9c (patch) | |
tree | 4570e09d50edffc792392010e3fc92359a145e25 /src/tutorial | |
parent | d08f0d861ddcbd01e571969d77169a3f3e2ed8f6 (diff) | |
download | postgresql-62513c3e559f5bd657b4670df2bcdf28fa4d7e9c.tar.gz postgresql-62513c3e559f5bd657b4670df2bcdf28fa4d7e9c.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/tutorial')
0 files changed, 0 insertions, 0 deletions