From b2e92a712ea7316563c5115639c1e39ad6c5a09b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 21 Oct 2001 03:25:36 +0000 Subject: 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. --- src/include/miscadmin.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include/miscadmin.h') diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index 1257faf0059..70d19f81929 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: miscadmin.h,v 1.93 2001/09/29 04:02:26 tgl Exp $ + * $Id: miscadmin.h,v 1.94 2001/10/21 03:25:35 tgl Exp $ * * NOTES * some of the information in this file should be moved to @@ -121,6 +121,7 @@ extern struct Port *MyProcPort; extern long MyCancelKey; extern char OutputFileName[]; +extern char pg_pathname[]; /* * done in storage/backendid.h for now. -- cgit v1.2.3