Re: Truncation on restore

From: Andrew Kelly <akelly(at)transparency(dot)org>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Truncation on restore
Date: 2003-12-09 13:18:47
Message-ID: 3FD5CBB7.716DDD6F@transparency.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Tom Lane wrote:
>
> Andrew Kelly <akelly(at)transparency(dot)org> writes:
> > It seems that many of the index names are being truncated
> > 31 characters and this cascades to other errors.
>
> 31 was the standard name length limit in PG 7.2. If you see longer
> names in a dump from a 7.2 server, then that server is *not* standard
> but was built with a custom value of NAMEDATALEN. You will need to
> build yours likewise. I would recommend holding a gun to someone's
> head till they tell you what other nonstandard build options were
> used, too ;-)
>
> regards, tom lane

Oh Tom, if you only knew...

The difficulties I'm having getting information out of
these chuckle-heads is at a last stage prior to
open warfare. In fact, I'm flying to London on Monday
for a lousy 30 minute face-to-face.
Maybe seeing that some computer weenies like to train with
free weights while they mentally debug will put a little
"here you go, sir" on the table. I'll have a gun, though,
just in case...

Can I pass the value for NAMEDATALEN to the configure
sript (or use a spec file in an rpm build from src), or
do I have to make the change in postgres_ext.h?

And thanks for the help, I really appreciate it.

Andy

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2003-12-09 15:01:54 Re: Truncation on restore
Previous Message Tom Lane 2003-12-09 01:00:41 Re: LDFLAGS and libstdc++ on osx10.3.1