@@ -153,37 +153,36 @@ InternalIpcMemoryCreate(IpcMemoryKey memKey, Size size)
153
153
"segment exceeded your kernel's SHMMAX parameter. You can either "
154
154
"reduce the request size or reconfigure the kernel with larger SHMMAX. "
155
155
"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"
158
158
"If the request size is already small, it's possible that it is less than "
159
159
"your kernel's SHMMIN parameter, in which case raising the request size or "
160
160
"reconfiguring SHMMIN is called for.\n"
161
161
"The PostgreSQL documentation contains more information about shared "
162
162
"memory configuration." ,
163
- (unsigned long ) size , NBuffers , MaxBackends ) : 0 ,
163
+ (unsigned long ) size ) : 0 ,
164
164
(errno == ENOMEM ) ?
165
165
errhint ("This error usually means that PostgreSQL's request for a shared "
166
166
"memory segment exceeded available memory or swap space, "
167
167
"or exceeded your kernel's SHMALL parameter. You can either "
168
168
"reduce the request size or reconfigure the kernel with larger SHMALL. "
169
169
"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"
172
172
"The PostgreSQL documentation contains more information about shared "
173
173
"memory configuration." ,
174
- (unsigned long ) size , NBuffers , MaxBackends ) : 0 ,
174
+ (unsigned long ) size ) : 0 ,
175
175
(errno == ENOSPC ) ?
176
176
errhint ("This error does *not* mean that you have run out of disk space. "
177
177
"It occurs either if all available shared memory IDs have been taken, "
178
178
"in which case you need to raise the SHMMNI parameter in your kernel, "
179
179
"or because the system's overall limit for shared memory has been "
180
180
"reached. If you cannot increase the shared memory limit, "
181
181
"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"
184
183
"The PostgreSQL documentation contains more information about shared "
185
184
"memory configuration." ,
186
- (unsigned long ) size , NBuffers , MaxBackends ) : 0 ));
185
+ (unsigned long ) size ) : 0 ));
187
186
}
188
187
189
188
/* Register on-exit routine to delete the new segment */
0 commit comments