1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-14 18:42:34 +03:00

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
This commit is contained in:
Robert Haas
2016-10-05 08:04:52 -04:00
parent eda04886c1
commit d2ce38e204
10 changed files with 43 additions and 43 deletions

View File

@ -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