We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29fd6af commit 9fd9794Copy full SHA for 9fd9794
src/backend/port/sysv_shmem.c
@@ -155,22 +155,6 @@ InternalIpcMemoryCreate(IpcMemoryKey memKey, Size size)
155
}
156
157
#endif
158
-
159
- /*
160
- * NEON: do not create shared memory segments for single user wal redo
161
- * postgres. Many spawned instances of wal redo may exhaust kernel.shmmni
162
- */
163
- if (am_wal_redo_postgres)
164
- {
165
- void *ptr = malloc(size);
166
167
- if (ptr == NULL)
168
169
- ereport(FATAL,
170
- (errmsg("could not create shared memory segment with size %zu for WAL redo process", size)));
171
- }
172
- return ptr;
173
174
shmid = shmget(memKey, size, IPC_CREAT | IPC_EXCL | IPCProtection);
175
176
if (shmid < 0)
0 commit comments