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>
Subject: Re: Create index problem ( _bt_sort )
Date: Mon, 29 Jan 2001 12:20:13 -0500
Message-ID: <25101.980788813@sss.pgh.pa.us> (raw)
In-Reply-To: <3A75A158.5D39D94D@cri74.org>
References: <3A759862.11DDFE9C@cri74.org>
<24937.980786878@sss.pgh.pa.us>
<3A75A158.5D39D94D@cri74.org>
=?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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, loic@cri74.org
Subject: Re: Create index problem ( _bt_sort )
In-Reply-To: <25101.980788813@sss.pgh.pa.us>
References: <3A759862.11DDFE9C@cri74.org> <24937.980786878@sss.pgh.pa.us> <3A75A158.5D39D94D@cri74.org> <25101.980788813@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox