Fix hstore_plpython for Python 3.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| contrib/hstore_plpython/hstore_plpython.c | modified | +21 −13 |