(Modified) Patch request for PostgreSQL 7.4 for HP-UX IA-64

From: "ViSolve Open Source Team" <opensrc_support_hp(at)visolve(dot)com>
To: <pgsql-bugs(at)postgresql(dot)org>, <pgsql-patches(at)postgresql(dot)org>
Subject: (Modified) Patch request for PostgreSQL 7.4 for HP-UX IA-64
Date: 2003-11-20 00:55:26
Message-ID: 019301c3af01$029c9470$70800d0f@NETMERCURY
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

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)

Attachment Content-Type Size
PostgreSQL_74_taspatch_hpux_ia64_hpc.patch application/octet-stream 1.7 KB
PostgreSQL_74_taspatch_hpux_ia64_hpc.template.txt text/plain 3.6 KB

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message jerry 2003-11-20 01:14:46 Re: RC1 question of reloading data
Previous Message Troels Arvin 2003-11-19 22:13:44 Re: 7.4: CHAR padding inconsistency

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2003-11-20 01:21:16 Re: internationalization of initdb
Previous Message Steve Tibbett 2003-11-20 00:35:03 Re: [PATCHES] SRA Win32 sync() code