Re: SQLSTATE XX000 Internal Error 7

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ben Madin <lists(at)remoteinformation(dot)com(dot)au>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: SQLSTATE XX000 Internal Error 7
Date: 2012-05-03 03:57:35
Message-ID: 11522.1336017455@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ben Madin <lists(at)remoteinformation(dot)com(dot)au> writes:
> SQLSTATE[XX000]: Internal error: 7 ERROR: could not open file "base/102979/430122_fsm": Invalid argument

[ scratches head ... ] AFAICS the only documented reason for open() to
fail with EINVAL on OS X is

[EINVAL] The value of oflag is not valid.

which is surely bogus since that code path calls it with a constant
value for oflag --- there's no way it could fail just some of the time.

So this is smelling like a kernel or filesystem bug. I wonder exactly
which OS X update you're running, and what sort of filesystem the
database is stored on.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Reichstadt 2012-05-03 06:33:06 Re: pqlib garbage collection
Previous Message Ben Chobot 2012-05-03 03:45:40 logging query result size?