From 97906ac697874192b19aebed391be49b07b12b02 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Fri, 11 Oct 1996 02:38:16 +0000 Subject: [PATCH] Reinstituted NAMEDATALEN OIDNAMELEN in Makefile.global so that initdb works again... --- src/Makefile.global | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/Makefile.global b/src/Makefile.global index 853c71ee1b..f43b8e56a1 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 -- 2.40.0