mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
Run pgindent on 9.2 source tree in preparation for first 9.3
commit-fest.
This commit is contained in:
@@ -272,8 +272,8 @@ bool
|
||||
PostmasterIsAlive(void)
|
||||
{
|
||||
#ifndef WIN32
|
||||
char c;
|
||||
ssize_t rc;
|
||||
char c;
|
||||
ssize_t rc;
|
||||
|
||||
rc = read(postmaster_alive_fds[POSTMASTER_FD_WATCH], &c, 1);
|
||||
if (rc < 0)
|
||||
@@ -287,7 +287,6 @@ PostmasterIsAlive(void)
|
||||
elog(FATAL, "unexpected data in postmaster death monitoring pipe");
|
||||
|
||||
return false;
|
||||
|
||||
#else /* WIN32 */
|
||||
return (WaitForSingleObject(PostmasterHandle, 0) == WAIT_TIMEOUT);
|
||||
#endif /* WIN32 */
|
||||
|
||||
Reference in New Issue
Block a user