From: Loïc TREGOUËT <loic@cri74.org>
To: Loïc TREGOUËT <loic@cri74.org>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Create index problem ( _bt_sort )
Date: Mon, 29 Jan 2001 17:20:50 +0100
Message-ID: <3A759862.11DDFE9C@cri74.org> (raw)
Hello,
When i try to create a index (btree on text field) after a restore i've
the
following error :
FATAL 1: btree: failed to add item to the page in _bt_sort (2)
But , if i had some rows on this table , the index creation works fine !
The table contains 1 million rows.
I've tried a lot of time , on postgresql 7.0.2 and 6.5.3
Any idea , thanks
raslog=# select count(username) from log2000 ;
count
--------
965047
(1 row)
raslog=# create index user2000 on log2000(username);
FATAL 1: btree: failed to add item to the page in _bt_sort (2)
pqReadData() -- backend closed the channel unexpectedly.
This probably means the backend terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: Succeeded.
raslog=# insert into log2000 select * from log2001 ;
INSERT 0 111729
raslog=# create index user2000 on log2000(username);
CREATE
raslog=#
--
Loïc TREGOUËT
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: <3A759862.11DDFE9C@cri74.org>
References: <3A759862.11DDFE9C@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