diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-03-04 01:46:04 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-03-04 01:46:04 +0000 |
commit | 36f693ec69bd412817021ae530c729b414822ebc (patch) | |
tree | 903c0ad1bc7baed33d305faefe3b1a1bb48d85c3 /src/include/miscadmin.h | |
parent | 5ab02fd12321d1d742f1b288fda73af87abdf37c (diff) | |
download | postgresql-36f693ec69bd412817021ae530c729b414822ebc.tar.gz postgresql-36f693ec69bd412817021ae530c729b414822ebc.zip |
Further work on elog cleanup: fix some bogosities in elog's logic about
when to send what to which, prevent recursion by introducing new COMMERROR
elog level for client-communication problems, get rid of direct writes
to stderr in backend/libpq files, prevent non-error elogs from going to
client during the authentication cycle.
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r-- | src/include/miscadmin.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index 8872d54768e..4fb64473924 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.100 2002/03/02 21:39:34 momjian Exp $ + * $Id: miscadmin.h,v 1.101 2002/03/04 01:46:04 tgl Exp $ * * NOTES * some of the information in this file should be moved to @@ -104,6 +104,9 @@ extern void ProcessInterrupts(void); /* * from postmaster/postmaster.c */ +extern bool IsUnderPostmaster; +extern bool ClientAuthInProgress; + extern int PostmasterMain(int argc, char *argv[]); extern void ClosePostmasterPorts(bool pgstat_too); @@ -127,8 +130,6 @@ extern char pg_pathname[]; */ extern DLLIMPORT Oid MyDatabaseId; -extern bool IsUnderPostmaster; - /* Date/Time Configuration * * Constants to pass info from runtime environment: |