Re: AIX support

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Srirama Kucherlapati <sriram(dot)rk(at)in(dot)ibm(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Noah Misch <noah(at)leadboat(dot)com>, Aditya Kamath <Aditya(dot)Kamath1(at)ibm(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Robert Haas <robertmhaas(at)gmail(dot)com>, "peter(at)eisentraut(dot)org" <peter(at)eisentraut(dot)org>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, "hlinnaka(at)iki(dot)fi" <hlinnaka(at)iki(dot)fi>, "tristan(at)partin(dot)io" <tristan(at)partin(dot)io>, "postgres-ibm-aix(at)wwpdl(dot)vnet(dot)ibm(dot)com" <postgres-ibm-aix(at)wwpdl(dot)vnet(dot)ibm(dot)com>
Subject: Re: AIX support
Date: 2026-02-02 16:18:55
Message-ID: 532784.1770049135@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I wrote:
> Hence, I suggest the attached alternative solution, at least for
> the first pass at this. I've checked that this works on both AIX
> (cfarm119) and NetBSD/ppc (mamba's host).

I realized that there was only one other local label in s_lock.h,
so that

+ * Ordinarily, we'd code the branches here using GNU-style local symbols,

felt a little silly: local labels would now be the minority usage.
And to me, this approach is actually superior to a local label.
"1:" has zero mnemonic value while "TAS%=_fail" conveys something
useful. So I converted that other usage too and documented this as
the new standard approach for s_lock.h. Pushed at 0c9f46c42.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2026-02-02 17:04:03 Re: Pasword expiration warning
Previous Message Jim Jones 2026-02-02 16:17:13 Re: display hot standby state in psql prompt