Re: Create index problem ( _bt_sort )

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Loïc TREGOUËT <loic(at)cri74(dot)org>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Create index problem ( _bt_sort )
Date: 2001-01-29 17:20:13
Message-ID: 25101.980788813@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-bugs

=?iso-8859-1?Q?Lo=EFc=20TREGOU=CBT?= <loic(at)cri74(dot)org> writes:
> Tom Lane wrote:
>> =?iso-8859-1?Q?Lo=EFc=20TREGOU=CBT?= <loic(at)cri74(dot)org> writes:
> raslog=# create index user2000 on log2000(username);
> FATAL 1: btree: failed to add item to the page in _bt_sort (2)
>>
>> How long are the usernames? IIRC, 7.0.* has some edge cases that might
>> fail when items approach the maximum allowed size of 1/3 page (~ 2700
>> bytes).

> The maximum length , is about 40 character (but not 2700 bytes).

Hmm, then it's not what I thought. Would you be willing to send me
a pg_dump of that table? (Don't send it to the whole list!)

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Graham Vickrage 2001-01-29 18:13:07 RE: pg_hba.conf question
Previous Message R D 2001-01-29 16:59:50 Re: Tuple problem

Browse pgsql-bugs by date

  From Date Subject
Next Message Vadim I. Passynkov 2001-01-29 19:35:29 Problem with inet/cidr convert functions
Previous Message Loïc TREGOUËT 2001-01-29 16:59:04 Re: Create index problem ( _bt_sort )