PL/Perl portability fix: avoid including XSUB.h in plperl.c.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 30a5c8bfbd7bec07385c7d40305b06385d700b3f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-07-31T16:10:36Z
Releases: 9.6.4
PL/Perl portability fix: avoid including XSUB.h in plperl.c.

Back-patch of commit bebe174bb4462ef079a1d7eeafb82ff969f160a4,
which see for more info.

Patch by me, with some help from Ashutosh Sharma

Discussion: https://postgr.es/m/CANFyU97OVQ3+Mzfmt3MhuUm5NwPU=-FtbNH5Eb7nZL9ua8=rcA@mail.gmail.com

Files

PathChange+/−
contrib/hstore_plperl/hstore_plperl.c modified +3 −3
src/pl/plperl/plperl.c modified +183 −61
src/pl/plperl/plperl.h modified +15 −2
src/pl/plperl/plperl_helpers.h modified +4 −0
src/pl/plperl/SPI.xs modified +2 −30
src/pl/plperl/Util.xs modified +3 −41

Discussion