diff options
| author | Tom Lane | 2001-10-21 03:25:36 +0000 |
|---|---|---|
| committer | Tom Lane | 2001-10-21 03:25:36 +0000 |
| commit | b2e92a712ea7316563c5115639c1e39ad6c5a09b (patch) | |
| tree | 6f2a91acddea6238d72599745faa976eff947486 /src/include/tcop | |
| parent | 2b7206a9935c915155a2c71e4658638de98ad440 (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/tcop')
| -rw-r--r-- | src/include/tcop/tcopprot.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/tcop/tcopprot.h b/src/include/tcop/tcopprot.h index dccea51fe25..ff1bfadf580 100644 --- a/src/include/tcop/tcopprot.h +++ b/src/include/tcop/tcopprot.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: tcopprot.h,v 1.42 2001/09/07 16:12:49 wieck Exp $ + * $Id: tcopprot.h,v 1.43 2001/10/21 03:25:36 tgl Exp $ * * OLD COMMENTS * This file was created so that other c files could get the two @@ -45,8 +45,7 @@ extern void pg_exec_query_string(char *query_string, extern void die(SIGNAL_ARGS); extern void quickdie(SIGNAL_ARGS); extern void authdie(SIGNAL_ARGS); -extern int PostgresMain(int argc, char *argv[], - int real_argc, char *real_argv[], const char *username); +extern int PostgresMain(int argc, char *argv[], const char *username); extern void ResetUsage(void); extern void ShowUsage(void); extern FILE *StatFp; |
