Re: FATAL: could not open relation pg_tblspc/491086/467369/491103: No such file or directory

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Simon Riggs <simon(at)2ndQuadrant(dot)com>
Cc: Gianni Ciolli <gianni(dot)ciolli(at)2ndquadrant(dot)it>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>, Gabriele Bartolini <gabriele(dot)bartolini(at)2ndquadrant(dot)it>
Subject: Re: FATAL: could not open relation pg_tblspc/491086/467369/491103: No such file or directory
Date: 2009-01-26 07:48:20
Message-ID: 497D6AC4.6010305@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Simon Riggs wrote:
> In various places in current HEAD we throw a checkpoint when we want to
> be certain that all buffers have been flushed.
>
> In recovery, a checkpoint isn't always a restartpoint for two reasons:
> timing and rmgr state. This gives both a cause for the error and an
> explanation of why it does not occur consistently. ISTM this could
> likely effect previous releases as well.

Were you able to narrow this down? Do you know exactly what command
caused it? At least replay of CREATE DATABASE already calls
FlushDatabaseBuffers(), but are we missing that from some other place?

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Koichi Suzuki 2009-01-26 07:49:03 Re: V4 of PITR performance improvement for 8.4
Previous Message KaiGai Kohei 2009-01-26 05:14:22 Re: 8.4 release planning (was Re: [COMMITTERS] pgsql: Automatic view update rules)