diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-03-09 22:35:25 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-03-09 22:35:25 +0000 |
commit | 02db7827f3d16507bd481f7f190a608c2413a68d (patch) | |
tree | 6e6ff1c8c6140048d8a7a054842756a14eceb6d3 /src/backend/commands | |
parent | 0303f0415de638bd090792c9f788117a47a1e43f (diff) | |
download | postgresql-02db7827f3d16507bd481f7f190a608c2413a68d.tar.gz postgresql-02db7827f3d16507bd481f7f190a608c2413a68d.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/commands')
0 files changed, 0 insertions, 0 deletions