pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: 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 17:59:04 +0100
Message-ID: <3A75A158.5D39D94D@cri74.org> (raw)
References: <3A759862.11DDFE9C@cri74.org>
	<24937.980786878@sss.pgh.pa.us>

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).
> 
> Would you be willing to try the example in 7.1beta4?
> 
>                         regards, tom lane

The maximum length , is about 40 character (but not 2700 bytes).
What do you think about this :
when i have add some rows , the index creation become possible . It's
strange , isn't it ? I don't remove any row .
I work on a debien and i like the system package so, for the 7.1beta4, 
i will try if i'm forced .

	Thanks , soory for my english
-- 
Loïc  TREGOUËT



view thread (5+ messages)  latest in thread

Message-ID: <3A75A158.5D39D94D@cri74.org>
Permalink:  ../3A75A158.5D39D94D@cri74.org/
Also on:    postgresql.org/message-id/3A75A158.5D39D94D@cri74.org

 · 

reply

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: loic@cri74.org
  Subject: Re: Create index problem ( _bt_sort )
  In-Reply-To: <3A75A158.5D39D94D@cri74.org>
  References: <3A759862.11DDFE9C@cri74.org> <24937.980786878@sss.pgh.pa.us> <3A75A158.5D39D94D@cri74.org>

* 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