diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-05-22 17:47:54 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-05-22 17:47:54 +0000 |
commit | cf1478982cbe5637f0e78f88a28bf5d8ecfb389f (patch) | |
tree | 712d801ce2b81e4c87f7b6e7f7ea9cab6c7f3168 /src/include | |
parent | e9edb3ef92363b53c576767cae60847f94fac0c6 (diff) | |
download | postgresql-cf1478982cbe5637f0e78f88a28bf5d8ecfb389f.tar.gz postgresql-cf1478982cbe5637f0e78f88a28bf5d8ecfb389f.zip |
Modify backend switch parsing to prevent 'insecure' switches
from being accepted when they are passed from client connection request.
Get rid of a couple that no longer do anything (like -P).
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/miscadmin.h | 3 | ||||
-rw-r--r-- | src/include/utils/trace.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index 1cec52a1a89..a77ae25e3c3 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -11,7 +11,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: miscadmin.h,v 1.37 1999/05/03 19:10:09 momjian Exp $ + * $Id: miscadmin.h,v 1.38 1999/05/22 17:47:47 tgl Exp $ * * NOTES * some of the information in this file will be moved to @@ -34,7 +34,6 @@ extern int PostmasterMain(int argc, char *argv[]); /* * from utils/init/globals.c */ -extern int Portfd; extern bool Noversion; extern bool Quiet; extern bool QueryCancel; diff --git a/src/include/utils/trace.h b/src/include/utils/trace.h index 4695e865aa7..29bda724862 100644 --- a/src/include/utils/trace.h +++ b/src/include/utils/trace.h @@ -33,7 +33,7 @@ extern int eprintf(const char *fmt,...); extern int option_flag(int flag); extern int set_option_flag(int flag, int value); extern void write_syslog(int level, char *line); -extern void parse_options(char *str); +extern void parse_options(char *str, bool secure); extern void read_pg_options(SIGNAL_ARGS); /* |