aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-10-11 02:38:16 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-10-11 02:38:16 +0000
commit97906ac697874192b19aebed391be49b07b12b02 (patch)
treef32ebb565fa609f53d4476d678c770dd8f50b31d
parent329b38eebb4154f2617de0d0b02c7b59e9d11e2c (diff)
downloadpostgresql-97906ac697874192b19aebed391be49b07b12b02.tar.gz
postgresql-97906ac697874192b19aebed391be49b07b12b02.zip
Reinstituted NAMEDATALEN OIDNAMELEN in Makefile.global so that initdb
works again...
-rw-r--r--src/Makefile.global18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/Makefile.global b/src/Makefile.global
index 853c71ee1b1..f43b8e56a11 100644
--- a/src/Makefile.global
+++ b/src/Makefile.global
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.36 1996/10/08 00:08:56 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.37 1996/10/11 02:38:16 scrappy Exp $
#
# NOTES
# This is seen by any Makefiles that include mk/postgres.mk. To
@@ -107,6 +107,22 @@ HEADERDIR= $(POSTGRESDIR)/include
# The port to run the postmaster on
POSTPORT= 5432
+# NAMEDATALEN is the max length for system identifiers (e.g. table names,
+# attribute names, function names, etc.)
+#
+# These MUST be set here. DO NOT COMMENT THESE OUT
+# Setting these too high will result in excess space usage for system catalogs
+# Setting them too low will make the system unusable.
+# values between 16 and 64 that are multiples of four are recommended.
+#
+# NOTE also that databases with different NAMEDATALEN's cannot interoperate!
+#
+NAMEDATALEN = 32
+# OIDNAMELEN should be set to NAMEDATALEN + sizeof(Oid)
+OIDNAMELEN = 36
+
+CFLAGS+= -DNAMEDATALEN=$(NAMEDATALEN) -DOIDNAMELEN=$(OIDNAMELEN)
+
##############################################################################
#
# FEATURES