Re: AIX support - Mailing list pgsql-hackers

From Tom Lane
Subject Re: AIX support
Date
Msg-id 532784.1770049135@sss.pgh.pa.us
Whole thread Raw
In response to Re: AIX support  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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



pgsql-hackers by date:

Previous
From: Jim Jones
Date:
Subject: Re: display hot standby state in psql prompt
Next
From: Nathan Bossart
Date:
Subject: Re: Pasword expiration warning