Skip site navigation (1) Skip section navigation (2)

(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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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: PostgreSQL_74_taspatch_hpux_ia64_hpc.template.txt
Description: text/plain (3.6 KB)
Attachment: PostgreSQL_74_taspatch_hpux_ia64_hpc.patch
Description: application/octet-stream (1.7 KB)

Responses

pgsql-bugs by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group