mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
Pgindent run before 9.1 beta2.
This commit is contained in:
@@ -121,7 +121,7 @@ InternalIpcSemaphoreCreate(IpcSemaphoreKey semKey, int numSems)
|
||||
"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.\n"
|
||||
"consumption of semaphores by reducing its max_connections parameter.\n"
|
||||
"The PostgreSQL documentation contains more information about "
|
||||
"configuring your system for PostgreSQL.") : 0));
|
||||
}
|
||||
|
||||
@@ -135,7 +135,7 @@ crashDumpHandler(struct _EXCEPTION_POINTERS * pExceptionInfo)
|
||||
|
||||
systemTicks = GetTickCount();
|
||||
snprintf(dumpPath, _MAX_PATH,
|
||||
"crashdumps\\postgres-pid%0i-%0i.mdmp",
|
||||
"crashdumps\\postgres-pid%0i-%0i.mdmp",
|
||||
(int) selfPid, (int) systemTicks);
|
||||
dumpPath[_MAX_PATH - 1] = '\0';
|
||||
|
||||
|
||||
@@ -373,7 +373,7 @@ pgwin32_recv(SOCKET s, char *buf, int len, int f)
|
||||
* The second argument to send() is defined by SUS to be a "const void *"
|
||||
* and so we use the same signature here to keep compilers happy when
|
||||
* handling callers.
|
||||
*
|
||||
*
|
||||
* But the buf member of a WSABUF struct is defined as "char *", so we cast
|
||||
* the second argument to that here when assigning it, also to keep compilers
|
||||
* happy.
|
||||
|
||||
@@ -94,7 +94,7 @@ WaitLatchOrSocket(volatile Latch *latch, SOCKET sock, bool forRead,
|
||||
DWORD rc;
|
||||
HANDLE events[3];
|
||||
HANDLE latchevent;
|
||||
HANDLE sockevent = WSA_INVALID_EVENT; /* silence compiler */
|
||||
HANDLE sockevent = WSA_INVALID_EVENT; /* silence compiler */
|
||||
int numevents;
|
||||
int result = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user