pgsql: Rename CACHE_LINE_SIZE to PG_CACHE_LINE_SIZE.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Rename CACHE_LINE_SIZE to PG_CACHE_LINE_SIZE.
Дата
Msg-id E1XZH4b-0001If-7u@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Rename CACHE_LINE_SIZE to PG_CACHE_LINE_SIZE.

As noted in http://bugs.debian.org/763098 there is a conflict between
postgres' definition of CACHE_LINE_SIZE and the definition by various
*bsd platforms. It's debatable who has the right to define such a
name, but postgres' use was only introduced in 375d8526f290 (9.4), so
it seems like a good idea to rename it.

Discussion: 20140930195756.GC27407@msg.df7cb.de

Per complaint of Christoph Berg in the above email, although he's not
the original bug reporter.

Backpatch to 9.4 where the define was introduced.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ef8863844bb0b0dab7b92c5f278302a42b4bf05a

Modified Files
--------------
src/backend/access/transam/xlog.c |    4 ++--
src/include/pg_config_manual.h    |    2 +-
2 files changed, 3 insertions(+), 3 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: pgsql: Correct stdin/stdout usage in COPY .. PROGRAM
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Rename CACHE_LINE_SIZE to PG_CACHE_LINE_SIZE.