(Modified) Patch request for PostgreSQL 7.4 for HP-UX IA-64 - Mailing list pgsql-bugs

From ViSolve Open Source Team
Subject (Modified) Patch request for PostgreSQL 7.4 for HP-UX IA-64
Date
Msg-id 019301c3af01$029c9470$70800d0f@NETMERCURY
Whole thread Raw
Responses Re: [PATCHES] (Modified) Patch request for PostgreSQL 7.4 for HP-UX  (Peter Eisentraut <peter_e@gmx.net>)
Re: (Modified) Patch request for PostgreSQL 7.4 for HP-UX IA-64  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
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
http://archives.postgresql.org/pgsql-bugs/2003-10/msg00149.php)
this is a modified and more focussed patch request for PostgreSQL for for HP-UX
11i V2  for the Intel Itanium architecture  (known to the PostgreSQL code as
IA-64).
 
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)
 

pgsql-bugs by date:

Previous
From: Troels Arvin
Date:
Subject: Re: 7.4: CHAR padding inconsistency
Next
From: jerry
Date:
Subject: IpcSemaphoreCreate: semget(...) failed: No space left on device