pgsql: Rename WAIT_* constants to PG_WAIT_*.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Rename WAIT_* constants to PG_WAIT_*.
Date: 2016-10-05 12:23:12
Message-ID: E1brlE8-0005Cd-GB@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Rename WAIT_* constants to PG_WAIT_*.

Windows apparently has a constant named WAIT_TIMEOUT, and some of these
other names are pretty generic, too. Insert "PG_" at the front of each
name in order to disambiguate.

Michael Paquier

Branch
------
master

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

Modified Files
--------------
contrib/postgres_fdw/connection.c | 2 +-
src/backend/postmaster/pgstat.c | 36 ++++++++++++++++----------------
src/backend/storage/buffer/bufmgr.c | 2 +-
src/backend/storage/ipc/standby.c | 4 ++--
src/backend/storage/lmgr/lwlock.c | 8 +++----
src/backend/storage/lmgr/proc.c | 2 +-
src/include/pgstat.h | 26 +++++++++++------------
src/test/modules/test_shm_mq/setup.c | 2 +-
src/test/modules/test_shm_mq/test.c | 2 +-
src/test/modules/worker_spi/worker_spi.c | 2 +-
10 files changed, 43 insertions(+), 43 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2016-10-05 12:23:50 Re: pgsql: Extend framework from commit 53be0b1ad to report latch waits.
Previous Message Tom Lane 2016-10-04 21:49:19 pgsql: Avoid direct cross-module links in hstore_plperl and ltree_plpyt