|
37 | 37 | * |
38 | 38 | * |
39 | 39 | * IDENTIFICATION |
40 | | - * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.230 2001/07/01 00:06:23 tgl Exp $ |
| 40 | + * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.231 2001/07/03 16:52:12 tgl Exp $ |
41 | 41 | * |
42 | 42 | * NOTES |
43 | 43 | * |
@@ -569,14 +569,6 @@ PostmasterMain(int argc, char *argv[]) |
569 | 569 | ExitPostmaster(1); |
570 | 570 | } |
571 | 571 |
|
572 | | -/* |
573 | | - * Initialize and startup the statistics collector process |
574 | | - */ |
575 | | -if (pgstat_init()<0) |
576 | | -ExitPostmaster(1); |
577 | | -if (pgstat_start()<0) |
578 | | -ExitPostmaster(1); |
579 | | - |
580 | 572 | if (DebugLvl>2) |
581 | 573 | { |
582 | 574 | externchar**environ; |
@@ -699,6 +691,14 @@ PostmasterMain(int argc, char *argv[]) |
699 | 691 | pqsignal(SIGTTIN,SIG_IGN);/* ignored */ |
700 | 692 | pqsignal(SIGTTOU,SIG_IGN);/* ignored */ |
701 | 693 |
|
| 694 | +/* |
| 695 | + * Initialize and startup the statistics collector process |
| 696 | + */ |
| 697 | +if (pgstat_init()<0) |
| 698 | +ExitPostmaster(1); |
| 699 | +if (pgstat_start()<0) |
| 700 | +ExitPostmaster(1); |
| 701 | + |
702 | 702 | /* |
703 | 703 | * We're ready to rock and roll... |
704 | 704 | */ |
|