Re: Create index problem ( _bt_sort )

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Loïc TREGOUËT <loic@cri74.org>
Cc: "pgsql-admin@postgresql.org" <pgsql-admin@postgresql.org>
Date: 2001-01-29T16:47:58Z
Lists: pgsql-bugs
=?iso-8859-1?Q?Lo=EFc=20TREGOU=CBT?= <loic@cri74.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).

Would you be willing to try the example in 7.1beta4?

			regards, tom lane