]> granicus.if.org Git - postgresql/commitdiff
Reinstituted NAMEDATALEN OIDNAMELEN in Makefile.global so that initdb
authorMarc G. Fournier <scrappy@hub.org>
Fri, 11 Oct 1996 02:38:16 +0000 (02:38 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Fri, 11 Oct 1996 02:38:16 +0000 (02:38 +0000)
works again...

src/Makefile.global

index 853c71ee1b1c6deaee1c22d146eaea39cd4ae21e..f43b8e56a113f669a214c71ac7582969343db137 100644 (file)
@@ -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