Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 97906ac

Browse files
committed
Reinstituted NAMEDATALEN OIDNAMELEN in Makefile.global so that initdb
works again...
1 parent 329b38e commit 97906ac

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

src/Makefile.global

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.36 1996/10/08 00:08:56 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.37 1996/10/11 02:38:16 scrappy Exp $
1111
#
1212
# NOTES
1313
# This is seen by any Makefiles that include mk/postgres.mk. To
@@ -107,6 +107,22 @@ HEADERDIR= $(POSTGRESDIR)/include
107107
# The port to run the postmaster on
108108
POSTPORT= 5432
109109

110+
# NAMEDATALEN is the max length for system identifiers (e.g. table names,
111+
# attribute names, function names, etc.)
112+
#
113+
# These MUST be set here. DO NOT COMMENT THESE OUT
114+
# Setting these too high will result in excess space usage for system catalogs
115+
# Setting them too low will make the system unusable.
116+
# values between 16 and 64 that are multiples of four are recommended.
117+
#
118+
# NOTE also that databases with different NAMEDATALEN's cannot interoperate!
119+
#
120+
NAMEDATALEN = 32
121+
# OIDNAMELEN should be set to NAMEDATALEN + sizeof(Oid)
122+
OIDNAMELEN = 36
123+
124+
CFLAGS+= -DNAMEDATALEN=$(NAMEDATALEN) -DOIDNAMELEN=$(OIDNAMELEN)
125+
110126
##############################################################################
111127
#
112128
# FEATURES

0 commit comments

Comments
 (0)