Re: tuplesort error from create index (?) - Mailing list pgsql-general

From Tom Lane
Subject Re: tuplesort error from create index (?)
Date
Msg-id 5402.1009996526@sss.pgh.pa.us
Whole thread Raw
In response to tuplesort error from create index (?)  ("Johnson, Shaunn" <SJohnson6@bcbsm.com>)
Responses Re: tuplesort error from create index (?)
List pgsql-general
"Johnson, Shaunn" <SJohnson6@bcbsm.com> writes:
> I am running Postgres 7.1 on Mandrake Linux 8.0,
> kernel version 2.4.16.

Could you upgrade to PG 7.1.3 and see if the problem is still there?

> I am trying to create an index on a table:
> database=> create index key_i on class (contract, memberid, date)
> and I get the following error:
> ERROR:  tuplesort: unexpected end of data

Weird.  Is it possible you are running out of disk space?  (The sort to
create the index is probably using temporary disk files.)  I should
think that you'd get an error saying that, though, not this error.

If you have lots of disk space, it'd be worth trying to pg_dump the
table, load it into a newly created database, and see if the error can
be reproduced on that fresh copy.  Knowing whether the error can be
reproduced outside your existing database would be helpful.

            regards, tom lane

PS: does anyone know if there are any serious bugs in Linux 2.4.16?
I recall hearing about some hasty updates of recent kernels, but am
not up-to-date on which versions to avoid.

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Possible bug with shared memory buffers
Next
From: Thomas Lockhart
Date:
Subject: Re: