Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 82F9A4760FC for ; Fri, 3 May 2002 15:38:08 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 5A3D4475E67 for ; Fri, 3 May 2002 15:36:47 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g43Jalv15201; Fri, 3 May 2002 15:36:47 -0400 (EDT) To: "Mark McEahern" Cc: pgsql-admin@postgresql.org Subject: Re: configure datatype name > 31? In-reply-to: References: Comments: In-reply-to "Mark McEahern" message dated "Fri, 03 May 2002 12:50:43 -0500" Date: Fri, 03 May 2002 15:36:47 -0400 Message-ID: <15198.1020454607@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200205/18 X-Sequence-Number: 4193 "Mark McEahern" writes: > Is there a way to configure PostgreSQL to make the name field larger? Edit src/include/postgres_ext.h to change NAMEDATALEN (keep it a multiple of 4). Build, install, initdb. In current releases there are client-side dependencies on NAMEDATALEN, so you should take care to recompile *everything*. We are working to remove all dependencies on NAMEDATALEN in the standard clients and client libraries for 7.3, though. According to recent tests there's a measurable performance hit for large values of NAMEDATALEN, so I wouldn't recommend making it bigger than about 100 ... regards, tom lane