]> granicus.if.org Git - postgresql/blobdiff - src/backend/replication/walreceiver.c
pgindent run for 9.4
[postgresql] / src / backend / replication / walreceiver.c
index b0de0ea253efaedd653b6fb5080ff15c15525f5a..c2d4ed3a96846a632232b64cabaed64313be4caa 100644 (file)
@@ -258,7 +258,7 @@ WalReceiverMain(void)
 
        /*
         * If possible, make this process a group leader, so that the postmaster
-        * can signal any child processes too.  (walreceiver probably never has
+        * can signal any child processes too.  (walreceiver probably never has
         * any child processes, but for consistency we make all postmaster child
         * processes do this.)
         */
@@ -786,7 +786,7 @@ WalRcvQuickDieHandler(SIGNAL_ARGS)
        on_exit_reset();
 
        /*
-        * Note we do exit(2) not exit(0).      This is to force the postmaster into a
+        * Note we do exit(2) not exit(0).  This is to force the postmaster into a
         * system reset cycle if some idiot DBA sends a manual SIGQUIT to a random
         * backend.  This is necessary precisely because we don't clean up our
         * shared memory state.  (The "dead man switch" mechanism in pmsignal.c
@@ -934,9 +934,9 @@ XLogWalRcvWrite(char *buf, Size nbytes, XLogRecPtr recptr)
                        if (lseek(recvFile, (off_t) startoff, SEEK_SET) < 0)
                                ereport(PANIC,
                                                (errcode_for_file_access(),
-                                errmsg("could not seek in log segment %s to offset %u: %m",
-                                               XLogFileNameP(recvFileTLI, recvSegNo),
-                                               startoff)));
+                                 errmsg("could not seek in log segment %s to offset %u: %m",
+                                                XLogFileNameP(recvFileTLI, recvSegNo),
+                                                startoff)));
                        recvOff = startoff;
                }