diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2011-05-19 21:36:57 +0300 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2011-05-19 21:38:24 +0300 |
commit | bb46d42859f62d5fbe8a8b55690643cba65e106c (patch) | |
tree | eaf8a8d81d87e445d2957363927b2e2e61e8b5ca /src/backend/port/sysv_sema.c | |
parent | a937b07121d8ab51ba6fb44618254ec13cdcdfa0 (diff) | |
download | postgresql-bb46d42859f62d5fbe8a8b55690643cba65e106c.tar.gz postgresql-bb46d42859f62d5fbe8a8b55690643cba65e106c.zip |
Consistent spacing for lengthy error messages
Also, we removed the display of the current value of
max_connections/MaxBackends from some messages earlier, because it was
confusing, so do that in the remaining one as well.
Diffstat (limited to 'src/backend/port/sysv_sema.c')
-rw-r--r-- | src/backend/port/sysv_sema.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/backend/port/sysv_sema.c b/src/backend/port/sysv_sema.c index 72f62e7951b..c64f5114c27 100644 --- a/src/backend/port/sysv_sema.c +++ b/src/backend/port/sysv_sema.c @@ -116,16 +116,14 @@ InternalIpcSemaphoreCreate(IpcSemaphoreKey semKey, int numSems) (unsigned long) semKey, numSems, IPC_CREAT | IPC_EXCL | IPCProtection), (errno == ENOSPC) ? - errhint("This error does *not* mean that you have run out of disk space.\n" + errhint("This error does *not* mean that you have run out of disk space. " "It occurs when either the system limit for the maximum number of " "semaphore sets (SEMMNI), or the system wide maximum number of " "semaphores (SEMMNS), would be exceeded. You need to raise the " "respective kernel parameter. Alternatively, reduce PostgreSQL's " - "consumption of semaphores by reducing its max_connections parameter " - "(currently %d).\n" + "consumption of semaphores by reducing its max_connections parameter.\n" "The PostgreSQL documentation contains more information about " - "configuring your system for PostgreSQL.", - MaxBackends) : 0)); + "configuring your system for PostgreSQL.") : 0)); } return semId; |