Fix hstore_plpython for Python 3.

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

Commit: 490ed1ebb9b26fb342a1e3240107092e9c5aec02
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-10-04T13:38:43Z
Releases: 10.0
Fix hstore_plpython for Python 3.

In commit d51924be8, I overlooked the need to provide linkage for
PLyUnicode_FromStringAndSize, because that's only used (and indeed
only exists) in Python 3 builds.

In light of the need to #if this item, rearrange the ordering of
the code related to each function pointer, so as not to need more
#if's than absolutely necessary.

Per buildfarm.

Files

PathChange+/−
contrib/hstore_plpython/hstore_plpython.c modified +21 −13