1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-26 12:21:12 +03:00

Move default NBuffers setting into config.h, and rename it

to DEF_NBUFFERS for readability.  Make sure the default value is OK
according to postmaster.c's new sanity check for -B values.
This commit is contained in:
Tom Lane
1999-06-12 22:17:24 +00:00
parent d9e223d53c
commit 642d21a59b
3 changed files with 12 additions and 9 deletions

View File

@ -11,7 +11,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: miscadmin.h,v 1.39 1999/05/25 16:13:23 momjian Exp $
* $Id: miscadmin.h,v 1.40 1999/06/12 22:17:23 tgl Exp $
*
* NOTES
* some of the information in this file will be moved to
@ -102,12 +102,6 @@ extern Oid LastOidProcessed; /* for query rewrite */
/* #define MAX_QUERY_SIZE (BLCKSZ*2) */
#define MAX_PARSE_BUFFER MAX_QUERY_SIZE
/*
* default number of buffers in buffer pool
*
*/
#define NDBUFS 64
/*****************************************************************************
* pdir.h -- *
* POSTGRES directory path definitions. *