mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-03 08:00:21 +08:00
Clean up some randomness associated with trace_recovery_messages: don't
put the variable declaration in the middle of a bunch of externs, and do use extern where it should be used.
This commit is contained in:
parent
09698bb5fb
commit
78e8f0025e
@ -10,7 +10,7 @@
|
||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.555 2010/06/15 07:52:10 itagaki Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.556 2010/06/17 17:44:40 tgl Exp $
|
||||
*
|
||||
*--------------------------------------------------------------------
|
||||
*/
|
||||
@ -119,8 +119,6 @@ extern bool fullPageWrites;
|
||||
extern int vacuum_defer_cleanup_age;
|
||||
extern int ssl_renegotiation_limit;
|
||||
|
||||
int trace_recovery_messages = LOG;
|
||||
|
||||
#ifdef TRACE_SORT
|
||||
extern bool trace_sort;
|
||||
#endif
|
||||
@ -375,6 +373,7 @@ int log_min_messages = WARNING;
|
||||
int client_min_messages = NOTICE;
|
||||
int log_min_duration_statement = -1;
|
||||
int log_temp_files = -1;
|
||||
int trace_recovery_messages = LOG;
|
||||
|
||||
int num_temp_buffers = 1000;
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.220 2010/02/26 02:01:20 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.221 2010/06/17 17:44:40 tgl Exp $
|
||||
*
|
||||
* NOTES
|
||||
* some of the information in this file should be moved to other files.
|
||||
@ -242,7 +242,7 @@ extern void PreventCommandDuringRecovery(const char *cmdname);
|
||||
|
||||
/* in utils/misc/guc.c */
|
||||
extern int trace_recovery_messages;
|
||||
int trace_recovery(int trace_level);
|
||||
extern int trace_recovery(int trace_level);
|
||||
|
||||
/*****************************************************************************
|
||||
* pdir.h -- *
|
||||
|
Loading…
Reference in New Issue
Block a user