diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-10-05 08:04:52 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-10-05 08:04:52 -0400 |
commit | d2ce38e204583bc444eebffd800d492cf56e3b38 (patch) | |
tree | b8bcc79af1216b90388d80897c23539131704a99 /src/backend/storage/buffer/bufmgr.c | |
parent | eda04886c1e048d695728206504ab4198462168e (diff) | |
download | postgresql-d2ce38e204583bc444eebffd800d492cf56e3b38.tar.gz postgresql-d2ce38e204583bc444eebffd800d492cf56e3b38.zip |
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
Diffstat (limited to 'src/backend/storage/buffer/bufmgr.c')
-rw-r--r-- | src/backend/storage/buffer/bufmgr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/storage/buffer/bufmgr.c b/src/backend/storage/buffer/bufmgr.c index 91dc24c3019..2b63cd3ef14 100644 --- a/src/backend/storage/buffer/bufmgr.c +++ b/src/backend/storage/buffer/bufmgr.c @@ -3646,7 +3646,7 @@ LockBufferForCleanup(Buffer buffer) SetStartupBufferPinWaitBufId(-1); } else - ProcWaitForSignal(WAIT_BUFFER_PIN); + ProcWaitForSignal(PG_WAIT_BUFFER_PIN); /* * Remove flag marking us as waiter. Normally this will not be set |