pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tony Griffiths <tony.griffiths@cs.man.ac.uk>
Cc: pgsql-admin@postgresql.org
Subject: Re: Extending table name max length
Date: Mon, 15 Apr 2002 13:32:10 -0400
Message-ID: <24516.1018891930@sss.pgh.pa.us> (raw)
In-Reply-To: <3CB6D055.B0592E1C@cs.man.ac.uk>
References: <3CB6D055.B0592E1C@cs.man.ac.uk>

Tony Griffiths <tony.griffiths@cs.man.ac.uk> 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



view thread (2+ messages)

Message-ID: <24516.1018891930@sss.pgh.pa.us>
Permalink:  ../24516.1018891930@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24516.1018891930@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, tony.griffiths@cs.man.ac.uk
  Subject: Re: Extending table name max length
  In-Reply-To: <24516.1018891930@sss.pgh.pa.us>
  References: <3CB6D055.B0592E1C@cs.man.ac.uk> <24516.1018891930@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox