]> granicus.if.org Git - postgresql/commit
Fix hstore_plpython for Python 3.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Oct 2016 13:38:43 +0000 (09:38 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Oct 2016 13:38:43 +0000 (09:38 -0400)
commit490ed1ebb9b26fb342a1e3240107092e9c5aec02
treebc8464e9826a7c1f56a9e8ba49cccf4c39623bfe
parentc86c2d9d57c1e6c5fec860873734cccaf31df5b0
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.
contrib/hstore_plpython/hstore_plpython.c