Re: Weird error updating table - Mailing list pgsql-general

From Tom Lane
Subject Re: Weird error updating table
Date
Msg-id 17975.1145388070@sss.pgh.pa.us
Whole thread Raw
In response to Weird error updating table  (Brendan Duddridge <brendan@clickspace.com>)
Responses Re: Weird error updating table  (Brendan Duddridge <brendan@clickspace.com>)
List pgsql-general
Brendan Duddridge <brendan@clickspace.com> writes:
>      Next exception:SQL State:XX000 -- error code: 0 -- msg: ERROR:
> could not read from hash-join temporary file: Unknown error: 0

> Any one know what that could mean?

It seems to imply unexpected end-of-file while reading from a temp file
... unless the kernel forgot to set errno during some other failure.
What platform is this on, exactly?

Looking at the code, it looks like BufFileClose is sloppy about checking
for errors (such as out-of-disk-space) while flushing out the very last
block of a temp file.  Is it possible that your query just barely ran
the machine out of disk space?

            regards, tom lane

pgsql-general by date:

Previous
From: elein
Date:
Subject: Re: Vacuuming of indexes on tables.
Next
From: Tom Lane
Date:
Subject: Re: Vacuuming of indexes on tables.