Re: libpq-dev: pg_config_manual.h redefines CACHE_LINE_SIZE - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: libpq-dev: pg_config_manual.h redefines CACHE_LINE_SIZE
Date
Msg-id CAM3SWZTTZHZHnLNZjbokucKJG45t-6zAxDh89YBBb250O_0+wA@mail.gmail.com
Whole thread Raw
In response to libpq-dev: pg_config_manual.h redefines CACHE_LINE_SIZE  (Christoph Berg <myon@debian.org>)
Responses Re: libpq-dev: pg_config_manual.h redefines CACHE_LINE_SIZE  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
On Tue, Sep 30, 2014 at 12:57 PM, Christoph Berg <myon@debian.org> wrote:
> It's probably not really a PostgreSQL bug, but it seems easy enough to
> rename that definition now as it's only present in 9.4+. It's only
> used in one file, xlog.c: 375d8526f2900d0c377f44532f6d09ee06531f67


I agree. It should be renamed to PG_CACHE_LINE_SIZE.

-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Gavin Flower
Date:
Subject: Re: Time measurement format - more human readable
Next
From: Andres Freund
Date:
Subject: Re: libpq-dev: pg_config_manual.h redefines CACHE_LINE_SIZE