Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id A4A5F47777C for ; Mon, 15 Apr 2002 13:32:21 -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 g3FHWAF24519; Mon, 15 Apr 2002 13:32:10 -0400 (EDT) To: Tony Griffiths Cc: pgsql-admin@postgresql.org Subject: Re: Extending table name max length In-reply-to: <3CB6D055.B0592E1C@cs.man.ac.uk> References: <3CB6D055.B0592E1C@cs.man.ac.uk> Comments: In-reply-to Tony Griffiths message dated "Fri, 12 Apr 2002 13:17:25 +0100" Date: Mon, 15 Apr 2002 13:32:10 -0400 Message-ID: <24516.1018891930@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200204/133 X-Sequence-Number: 4021 Tony Griffiths writes: > I had assumed that there would be a single header file that sets the max > name length, but it loos like the esql precompiler didn't pick up the > amended max name length. Did you remember to recompile ecpg? AFAICT it uses the same NAMEDATALEN symbol as everyplace else. In general, when making a system-wide configuration change like that one, it'd be a good idea to "make clean" at the top level, then do a full make, make install, initdb cycle. If you did all that, another possibility is an include file search path problem: perhaps the ecpg compile picked up a previously-installed postgres_ext.h with the wrong NAMEDATALEN value. regards, tom lane