pgsql: Fix hstore_plpython for Python 3. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix hstore_plpython for Python 3.
Date
Msg-id E1brPvm-0006Zn-7O@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/490ed1ebb9b26fb342a1e3240107092e9c5aec02

Modified Files
--------------
contrib/hstore_plpython/hstore_plpython.c | 34 +++++++++++++++++++------------
1 file changed, 21 insertions(+), 13 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Update comment.
Next
From: Robert Haas
Date:
Subject: pgsql: Extend framework from commit 53be0b1ad to report latch waits.