diff options
author | Tom Lane | 2010-03-09 22:35:16 +0000 |
---|---|---|
committer | Tom Lane | 2010-03-09 22:35:16 +0000 |
commit | a38c09f43dabbdb7545df7a8c705887b9274e654 (patch) | |
tree | 6cfc75197a25a9bd2431d59c58a13336480f29db /src/backend/tcop/postgres.c | |
parent | 22ae430efb3b8b7c512a267d3710dadbf161ff73 (diff) |
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/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions