mirror of
https://github.com/postgres/postgres.git
synced 2025-08-18 12:22:09 +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:
@@ -390,7 +390,7 @@ ResolveRecoveryConflictWithLock(LOCKTAG locktag)
|
||||
}
|
||||
|
||||
/* Wait to be signaled by the release of the Relation Lock */
|
||||
ProcWaitForSignal(WAIT_LOCK | locktag.locktag_type);
|
||||
ProcWaitForSignal(PG_WAIT_LOCK | locktag.locktag_type);
|
||||
|
||||
/*
|
||||
* Clear any timeout requests established above. We assume here that the
|
||||
@@ -470,7 +470,7 @@ ResolveRecoveryConflictWithBufferPin(void)
|
||||
}
|
||||
|
||||
/* Wait to be signaled by UnpinBuffer() */
|
||||
ProcWaitForSignal(WAIT_BUFFER_PIN);
|
||||
ProcWaitForSignal(PG_WAIT_BUFFER_PIN);
|
||||
|
||||
/*
|
||||
* Clear any timeout requests established above. We assume here that the
|
||||
|
Reference in New Issue
Block a user