mirror of
https://github.com/postgres/postgres.git
synced 2025-11-25 12:03:53 +03:00
Remove uses of "slave" in replication contexts
This affects mostly code comments, some documentation, and tests. Official APIs already used "standby".
This commit is contained in:
@@ -67,7 +67,7 @@ GetNewTransactionId(bool isSubXact)
|
||||
return BootstrapTransactionId;
|
||||
}
|
||||
|
||||
/* safety check, we should never get this far in a HS slave */
|
||||
/* safety check, we should never get this far in a HS standby */
|
||||
if (RecoveryInProgress())
|
||||
elog(ERROR, "cannot assign TransactionIds during recovery");
|
||||
|
||||
@@ -468,7 +468,7 @@ GetNewObjectId(void)
|
||||
{
|
||||
Oid result;
|
||||
|
||||
/* safety check, we should never get this far in a HS slave */
|
||||
/* safety check, we should never get this far in a HS standby */
|
||||
if (RecoveryInProgress())
|
||||
elog(ERROR, "cannot assign OIDs during recovery");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user