summaryrefslogtreecommitdiff
path: root/src/include/pgstat.h
diff options
context:
space:
mode:
authorTom Lane2001-10-21 03:25:36 +0000
committerTom Lane2001-10-21 03:25:36 +0000
commitb2e92a712ea7316563c5115639c1e39ad6c5a09b (patch)
tree6f2a91acddea6238d72599745faa976eff947486 /src/include/pgstat.h
parent2b7206a9935c915155a2c71e4658638de98ad440 (diff)
Fix getopt-vs-init_ps_display problem by copying original argv[] info,
per suggestion from Peter. Simplify several APIs by transmitting the original argv location directly from main.c to ps_status.c, instead of passing it down through several levels of subroutines.
Diffstat (limited to 'src/include/pgstat.h')
-rw-r--r--src/include/pgstat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/pgstat.h b/src/include/pgstat.h
index 0a566e8582e..5295d08ae05 100644
--- a/src/include/pgstat.h
+++ b/src/include/pgstat.h
@@ -5,7 +5,7 @@
*
* Copyright (c) 2001, PostgreSQL Global Development Group
*
- * $Id: pgstat.h,v 1.7 2001/09/03 12:00:00 petere Exp $
+ * $Id: pgstat.h,v 1.8 2001/10/21 03:25:36 tgl Exp $
* ----------
*/
#ifndef PGSTAT_H
@@ -333,7 +333,7 @@ extern bool pgstat_collect_blocklevel;
* ----------
*/
extern int pgstat_init(void);
-extern int pgstat_start(int real_argc, char *real_argv[]);
+extern int pgstat_start(void);
extern int pgstat_ispgstat(int pid);
extern void pgstat_close_sockets(void);
extern void pgstat_beterm(int pid);