~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-security

« back to all changes in this revision

Viewing changes to src/backend/port/sysv_sema.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-06-14 09:53:29 UTC
  • mto: (6.1.1 sid) (10.1.1 oneiric-proposed) (1.2.1)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20110614095329-71gfhjywyp2c27au
Tags: upstream-9.1~beta2
ImportĀ upstreamĀ versionĀ 9.1~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
                                                   (unsigned long) semKey, numSems,
117
117
                                                   IPC_CREAT | IPC_EXCL | IPCProtection),
118
118
                                 (errno == ENOSPC) ?
119
 
                                 errhint("This error does *not* mean that you have run out of disk space.\n"
 
119
                                 errhint("This error does *not* mean that you have run out of disk space.  "
120
120
                  "It occurs when either the system limit for the maximum number of "
121
121
                         "semaphore sets (SEMMNI), or the system wide maximum number of "
122
122
                        "semaphores (SEMMNS), would be exceeded.  You need to raise the "
123
123
                  "respective kernel parameter.  Alternatively, reduce PostgreSQL's "
124
 
                "consumption of semaphores by reducing its max_connections parameter "
125
 
                                                 "(currently %d).\n"
 
124
                                                 "consumption of semaphores by reducing its max_connections parameter.\n"
126
125
                          "The PostgreSQL documentation contains more information about "
127
 
                                                 "configuring your system for PostgreSQL.",
128
 
                                                 MaxBackends) : 0));
 
126
                                                 "configuring your system for PostgreSQL.") : 0));
129
127
        }
130
128
 
131
129
        return semId;