From: roland.otta@hotmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #13742: postgres deletes needed files in pg_clog
Date: Wed, 28 Oct 2015 07:00:30 +0000
Message-ID: <20151028070030.3017.62119@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 13742
Logged by: Roland Otta
Email address: roland.otta@hotmail.com
PostgreSQL version: 9.3.1
Operating system: Red Hat Enterprise Linux Server release 6.4
Description:
Hi there,
we have a pretty critical problem with our postgres installation.
When trying to dump a database, or when creating some queries (like select
count(*) from table;) we get the following error:
2015-10-28 06:50:45.313 GMT @ 51639 ERROR: could not access status of
transaction 67976792
2015-10-28 06:50:45.313 GMT @ 51639 DETAIL: Could not open file
"pg_clog/0040": No such file or directory.
When we try to restore the missing files of the pg_clog directory they get
deleted again immediately.
The following is shown in the postgres-log when enabling debug5 log level:
2015-10-27 23:50:23.682 GMT @ 15294 DEBUG: SlruScanDirectory invoking
callback on pg_clog/0040
2015-10-27 23:50:23.682 GMT @ 15294 DEBUG: removing file "pg_clog/0040"
so it seems the file is getting deleted by some housekeeping task even if
that file is needed.
thanks in advance.
br,
roland
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: roland.otta@hotmail.com
Subject: Re: BUG #13742: postgres deletes needed files in pg_clog
In-Reply-To: <20151028070030.3017.62119@wrigleys.postgresql.org>
References: <20151028070030.3017.62119@wrigleys.postgresql.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