mirror of
https://github.com/postgres/postgres.git
synced 2025-11-18 02:02:55 +03:00
Revert "Improve handling of parameter differences in physical replication"
This reverts commit 246f136e76.
That patch wasn't quite complete enough.
Discussion: https://www.postgresql.org/message-id/flat/E1jIpJu-0007Ql-CL%40gemulon.postgresql.org
This commit is contained in:
@@ -3654,14 +3654,7 @@ KnownAssignedXidsAdd(TransactionId from_xid, TransactionId to_xid,
|
||||
* If it still won't fit then we're out of memory
|
||||
*/
|
||||
if (head + nxids > pArray->maxKnownAssignedXids)
|
||||
{
|
||||
StandbyParamErrorPauseRecovery();
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_OUT_OF_MEMORY),
|
||||
errmsg("out of shared memory"),
|
||||
errdetail("There are no more KnownAssignedXids slots."),
|
||||
errhint("You might need to increase max_connections.")));
|
||||
}
|
||||
elog(ERROR, "too many KnownAssignedXids");
|
||||
}
|
||||
|
||||
/* Now we can insert the xids into the space starting at head */
|
||||
|
||||
Reference in New Issue
Block a user