|
8 | 8 | * |
9 | 9 | * |
10 | 10 | * IDENTIFICATION |
11 | | - * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.245 2002/01/10 01:11:45 tgl Exp $ |
| 11 | + * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.246 2002/02/19 19:54:43 tgl Exp $ |
12 | 12 | * |
13 | 13 | * NOTES |
14 | 14 | * this is the "main" module of the postgres backend and |
@@ -1478,9 +1478,10 @@ PostgresMain(int argc, char *argv[], const char *username) |
1478 | 1478 | * |
1479 | 1479 | * Also note: it's best not to use any signals that are SIG_IGNored in |
1480 | 1480 | * the postmaster. If such a signal arrives before we are able to |
1481 | | - * change the handler to non-SIG_IGN, it'll get dropped. If |
1482 | | - * necessary, make a dummy handler in the postmaster to reserve the |
1483 | | - * signal. |
| 1481 | + * change the handler to non-SIG_IGN, it'll get dropped. Instead, |
| 1482 | + * make a dummy handler in the postmaster to reserve the signal. |
| 1483 | + * (Of course, this isn't an issue for signals that are locally generated, |
| 1484 | + * such as SIGALRM and SIGPIPE.) |
1484 | 1485 | */ |
1485 | 1486 |
|
1486 | 1487 | pqsignal(SIGHUP, SigHupHandler); /* set flag to read config file */ |
@@ -1508,10 +1509,6 @@ PostgresMain(int argc, char *argv[], const char *username) |
1508 | 1509 | */ |
1509 | 1510 | pqsignal(SIGCHLD, SIG_DFL); /* system() requires this on some |
1510 | 1511 | * platforms */ |
1511 | | - pqsignal(SIGTTIN, SIG_DFL); |
1512 | | - pqsignal(SIGTTOU, SIG_DFL); |
1513 | | - pqsignal(SIGCONT, SIG_DFL); |
1514 | | - pqsignal(SIGWINCH, SIG_DFL); |
1515 | 1512 |
|
1516 | 1513 | pqinitmask(); |
1517 | 1514 |
|
@@ -1626,7 +1623,7 @@ PostgresMain(int argc, char *argv[], const char *username) |
1626 | 1623 | if (!IsUnderPostmaster) |
1627 | 1624 | { |
1628 | 1625 | puts("\nPOSTGRES backend interactive interface "); |
1629 | | - puts("$Revision: 1.245 $ $Date: 2002/01/10 01:11:45 $\n"); |
| 1626 | + puts("$Revision: 1.246 $ $Date: 2002/02/19 19:54:43 $\n"); |
1630 | 1627 | } |
1631 | 1628 |
|
1632 | 1629 | /* |
|
0 commit comments