Re: Truncation on restore

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Kelly <akelly(at)transparency(dot)org>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Truncation on restore
Date: 2003-12-08 16:10:33
Message-ID: 17451.1070899833@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Josh Berkus 2003-12-08 17:38:29 Re: duplicate entries on primary key
Previous Message Tom Lane 2003-12-08 16:06:01 Re: duplicate entries on primary key