@@ -153,37 +153,36 @@ InternalIpcMemoryCreate(IpcMemoryKey memKey, Size size)
153153 "segment exceeded your kernel's SHMMAX parameter. You can either "
154154 "reduce the request size or reconfigure the kernel with larger SHMMAX. "
155155 "To reduce the request size (currently %lu bytes), reduce "
156- "PostgreSQL's shared_buffers parameter (currently %d) and/or "
157- "its max_connections parameter (currently %d) .\n"
156+ "PostgreSQL's shared memory usage, perhaps by reducing shared_buffers "
157+ "or max_connections.\n"
158158 "If the request size is already small, it's possible that it is less than "
159159 "your kernel's SHMMIN parameter, in which case raising the request size or "
160160 "reconfiguring SHMMIN is called for.\n"
161161 "The PostgreSQL documentation contains more information about shared "
162162 "memory configuration." ,
163- (unsigned long ) size , NBuffers , MaxBackends ) : 0 ,
163+ (unsigned long ) size ) : 0 ,
164164 (errno == ENOMEM ) ?
165165 errhint ("This error usually means that PostgreSQL's request for a shared "
166166 "memory segment exceeded available memory or swap space, "
167167 "or exceeded your kernel's SHMALL parameter. You can either "
168168 "reduce the request size or reconfigure the kernel with larger SHMALL. "
169169 "To reduce the request size (currently %lu bytes), reduce "
170- "PostgreSQL's shared_buffers parameter (currently %d) and/or "
171- "its max_connections parameter (currently %d) .\n"
170+ "PostgreSQL's shared memory usage, perhaps by reducing shared_buffers "
171+ "or max_connections.\n"
172172 "The PostgreSQL documentation contains more information about shared "
173173 "memory configuration." ,
174- (unsigned long ) size , NBuffers , MaxBackends ) : 0 ,
174+ (unsigned long ) size ) : 0 ,
175175 (errno == ENOSPC ) ?
176176 errhint ("This error does *not* mean that you have run out of disk space. "
177177 "It occurs either if all available shared memory IDs have been taken, "
178178 "in which case you need to raise the SHMMNI parameter in your kernel, "
179179 "or because the system's overall limit for shared memory has been "
180180 "reached. If you cannot increase the shared memory limit, "
181181 "reduce PostgreSQL's shared memory request (currently %lu bytes), "
182- "by reducing its shared_buffers parameter (currently %d) and/or "
183- "its max_connections parameter (currently %d).\n"
182+ "perhaps by reducing shared_buffers or max_connections.\n"
184183 "The PostgreSQL documentation contains more information about shared "
185184 "memory configuration." ,
186- (unsigned long ) size , NBuffers , MaxBackends ) : 0 ));
185+ (unsigned long ) size ) : 0 ));
187186 }
188187
189188 /* Register on-exit routine to delete the new segment */
0 commit comments