summaryrefslogtreecommitdiff
path: root/src/backend/storage/ipc/procarray.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2020-04-04 09:08:12 +0200
committerPeter Eisentraut <peter@eisentraut.org>2020-04-04 09:08:12 +0200
commit552fcebff04699103cefd2efa71fae1274893dbe (patch)
tree1ec040622722e56709a8f2bd08d66da4bd06f503 /src/backend/storage/ipc/procarray.c
parentdf3b181499b40523bd6244a4e5eb554acb9020ce (diff)
Revert "Improve handling of parameter differences in physical replication"
This reverts commit 246f136e76ecd26844840f2b2057e2c87ec9868d. That patch wasn't quite complete enough. Discussion: https://www.postgresql.org/message-id/flat/E1jIpJu-0007Ql-CL%40gemulon.postgresql.org
Diffstat (limited to 'src/backend/storage/ipc/procarray.c')
-rw-r--r--src/backend/storage/ipc/procarray.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/backend/storage/ipc/procarray.c b/src/backend/storage/ipc/procarray.c
index 738c0484d33..281fe671bdf 100644
--- a/src/backend/storage/ipc/procarray.c
+++ b/src/backend/storage/ipc/procarray.c
@@ -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 */