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-29T17:20:13Z
Lists: pgsql-bugs
=?iso-8859-1?Q?Lo=EFc=20TREGOU=CBT?= <loic@cri74.org> writes: > Tom Lane wrote: >> =?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). > 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