mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
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.
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user