Subject: PostgreSQL Patch: Modified Test-and-set routine for HP-UX (IA-64) specifically for the HP-C compiler
With reference to Tom Lane's response to our previous patch request (at
The patch is required for HP-UX customers who want to compile the product
with the HP-C compiler. We have a significant number of HP-UX users who want
to build PostgreSQL on the IA-64 platform, but with the HP-C compiler.
The primary content of this patch is inline tas code that will build with HP-C.
There is one side-effect (described later) of using HP-C, also addressed by the
patch.
The target version is PostgreSQL 7.4.
We have downloaded the source (on Nov 18), applied the patch, and have tested
it successfully.
Note: HP-UX users building the product with the gcc compiler can use
the 7.4 version (or even the 7.3.4 version).
Details for the patch are in the attached template file. A summary is provided
here:
Version: PostgreSQL 7.4
Files modified:
1. s_lock.h: modified with inline tas code for the HP-C compiler
2. genbki.sh: a one-line change that fixes a string concatenation problem with the
HP-C compiler (specific to included .c files).
thanks
ViSolve OpenSource Team (for HP)