Change NAMEDATALEN to 64, INDEX_MAX_KEYS/MAX_FUNC_ARGS to 32, per discussion on hackers.

This commit is contained in:
Bruce Momjian
2002-08-13 20:40:44 +00:00
parent f8b4a2e0f0
commit 46bb23ac01
19 changed files with 100 additions and 98 deletions

View File

@ -37,7 +37,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: catversion.h,v 1.147 2002/08/09 16:45:14 tgl Exp $
* $Id: catversion.h,v 1.148 2002/08/13 20:40:44 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -53,6 +53,6 @@
*/
/* yyyymmddN */
#define CATALOG_VERSION_NO 200208091
#define CATALOG_VERSION_NO 200208131
#endif

View File

@ -8,7 +8,7 @@
* or in pg_config.h afterwards. Of course, if you edit pg_config.h, then your
* changes will be overwritten the next time you run configure.
*
* $Id: pg_config.h.in,v 1.26 2002/07/31 17:19:54 tgl Exp $
* $Id: pg_config.h.in,v 1.27 2002/08/13 20:40:44 momjian Exp $
*/
#ifndef PG_CONFIG_H
@ -162,7 +162,7 @@
* switch statement in fmgr_oldstyle() in src/backend/utils/fmgr/fmgr.c.
* But consider converting such functions to new-style instead...
*/
#define INDEX_MAX_KEYS 16
#define INDEX_MAX_KEYS 32
#define FUNC_MAX_ARGS INDEX_MAX_KEYS
/*

View File

@ -15,7 +15,7 @@
* use header files that are otherwise internal to Postgres to interface
* with the backend.
*
* $Id: postgres_ext.h,v 1.10 2002/04/30 19:53:03 tgl Exp $
* $Id: postgres_ext.h,v 1.11 2002/08/13 20:40:44 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -41,6 +41,6 @@ typedef unsigned int Oid;
*
* NOTE that databases with different NAMEDATALEN's cannot interoperate!
*/
#define NAMEDATALEN 32
#define NAMEDATALEN 64
#endif