Re: [HACKERS] s_lock.h busted - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] s_lock.h busted
Date
Msg-id 199807201746.NAA09284@candle.pha.pa.us
Whole thread Raw
In response to s_lock.h busted  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> The weekend's hacking on s_lock.h broke it for all platforms that
> need non-default definitions of S_UNLOCK or S_INIT_LOCK (hpux,
> alpha, a couple others).  Someone put unconditional definitions
> of those macros at the bottom of the file.  I suspect this was a
> plain old editing typo, but perhaps the intent was to put such
> definitions in one of the platform-specific #if blocks?  (If so,
> they were unnecessary anyway.)  Anyhow, the attached patch fixes
> it for hpux.
>

It came in from:

    Somewhere between 6.1 and 6.3 someone removed the support for the
    NS32K machine I contributed.  In any case, I now have postgresql-6.3
    running again on NetBSD/pc532, a NS32532 machine.  The following
    changes are needed relative to the src directory.  (It looks like
    support was partially removed when the files were moved from the
    src/backend/storage/.... tree to the src/include tree.)

    If you need me to get a current development version of postgresql
    for this change let me know.  Also, let me know if this code needs
    updating due to another code movement that deleted the old NS32K
    support.

    Thank you.

    Phil Nelson

Fix applied.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: s_lock.h busted
Next
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: Re: [HACKERS] Finding primary keys in a table