|
37 | 37 | *
|
38 | 38 | *
|
39 | 39 | * IDENTIFICATION
|
40 |
| - * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.265 2002/02/19 19:53:35 tgl Exp $ |
| 40 | + * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.266 2002/02/19 20:45:04 tgl Exp $ |
41 | 41 | *
|
42 | 42 | * NOTES
|
43 | 43 | *
|
@@ -1459,7 +1459,7 @@ pmdie(SIGNAL_ARGS)
|
1459 | 1459 | if (ShutdownPID > 0)
|
1460 | 1460 | {
|
1461 | 1461 | elog(REALLYFATAL, "shutdown process %d already running",
|
1462 |
| - ShutdownPID); |
| 1462 | + (int) ShutdownPID); |
1463 | 1463 | abort();
|
1464 | 1464 | }
|
1465 | 1465 |
|
@@ -1503,7 +1503,7 @@ pmdie(SIGNAL_ARGS)
|
1503 | 1503 | if (ShutdownPID > 0)
|
1504 | 1504 | {
|
1505 | 1505 | elog(REALLYFATAL, "shutdown process %d already running",
|
1506 |
| - ShutdownPID); |
| 1506 | + (int) ShutdownPID); |
1507 | 1507 | abort();
|
1508 | 1508 | }
|
1509 | 1509 |
|
@@ -1607,7 +1607,7 @@ reaper(SIGNAL_ARGS)
|
1607 | 1607 | if (ShutdownPID > 0)
|
1608 | 1608 | {
|
1609 | 1609 | elog(STOP, "startup process %d died while shutdown process %d already running",
|
1610 |
| - pid, ShutdownPID); |
| 1610 | + pid, (int) ShutdownPID); |
1611 | 1611 | abort();
|
1612 | 1612 | }
|
1613 | 1613 | ShutdownPID = ShutdownDataBase();
|
@@ -1747,7 +1747,7 @@ CleanupProc(int pid,
|
1747 | 1747 | if (DebugLvl)
|
1748 | 1748 | elog(DEBUG, "CleanupProc: sending %s to process %d",
|
1749 | 1749 | (SendStop ? "SIGSTOP" : "SIGQUIT"),
|
1750 |
| - bp->pid); |
| 1750 | + (int) bp->pid); |
1751 | 1751 | kill(bp->pid, (SendStop ? SIGSTOP : SIGQUIT));
|
1752 | 1752 | }
|
1753 | 1753 | }
|
@@ -1820,7 +1820,7 @@ SignalChildren(int signal)
|
1820 | 1820 | {
|
1821 | 1821 | if (DebugLvl >= 1)
|
1822 | 1822 | elog(DEBUG, "SignalChildren: sending signal %d to process %d",
|
1823 |
| - signal, bp->pid); |
| 1823 | + signal, (int) bp->pid); |
1824 | 1824 |
|
1825 | 1825 | kill(bp->pid, signal);
|
1826 | 1826 | }
|
@@ -1915,7 +1915,7 @@ BackendStartup(Port *port)
|
1915 | 1915 | /* in parent, normal */
|
1916 | 1916 | if (DebugLvl >= 1)
|
1917 | 1917 | elog(DEBUG, "BackendStartup: forked pid=%d socket=%d",
|
1918 |
| - pid, port->sock); |
| 1918 | + (int) pid, port->sock); |
1919 | 1919 |
|
1920 | 1920 | /*
|
1921 | 1921 | * Everything's been successful, it's safe to add this backend to our
|
|
0 commit comments