From f63cbccac7ad4017fabc645548fc9d4aeccde95d Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 26 Aug 2003 15:38:25 +0000 Subject: Mop-up for previous change to determine default shared_buffers and max_connections at initdb time. Get rid of DEF_NBUFFERS and DEF_MAXBACKENDS macros, which aren't doing anything useful anymore, and put more likely defaults into postgresql.conf.sample. --- src/include/miscadmin.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/include/miscadmin.h') diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index 3093de0f888..d5d6d85c62a 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: miscadmin.h,v 1.132 2003/08/04 04:03:10 tgl Exp $ + * $Id: miscadmin.h,v 1.133 2003/08/26 15:38:25 tgl Exp $ * * NOTES * some of the information in this file should be moved to @@ -191,17 +191,12 @@ extern int VacuumMem; * A few postmaster startup options are exported here so the * configuration file processor can access them. */ - extern bool NetServer; extern bool EnableSSL; extern bool SilentMode; extern int MaxBackends; - -#define DEF_MAXBACKENDS 32 extern int ReservedBackends; extern DLLIMPORT int NBuffers; - -#define DEF_NBUFFERS (DEF_MAXBACKENDS > 8 ? DEF_MAXBACKENDS * 2 : 16) extern int PostPortNumber; extern int Unix_socket_permissions; extern char *Unix_socket_group; -- cgit v1.2.3