Dodge a macro-name conflict with Perl.

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

Commit: 68c1d7d42e553682f1d2723e623b6a3a4b02c75f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2015-11-19T19:54:11Z
Releases: 9.6.0
Dodge a macro-name conflict with Perl.

Some versions of Perl export a macro named HS_KEY.  This creates a
conflict in contrib/hstore_plperl against hstore's macro of the same
name.  The most future-proof solution seems to be to rename our macro;
I chose HSTORE_KEY.  For consistency, rename HS_VAL and related macros
similarly.

Back-patch to 9.5.  contrib/hstore_plperl doesn't exist before that
so there is no need to worry about the conflict in older releases.

Per reports from Marco Atzeri and Mike Blackwell.

Files