Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZrRok-0008Ck-Mf for pgsql-bugs@arkaria.postgresql.org; Wed, 28 Oct 2015 14:35:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZrRok-0006zX-4J for pgsql-bugs@arkaria.postgresql.org; Wed, 28 Oct 2015 14:35:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZrKjK-0004Ut-RF for pgsql-bugs@postgresql.org; Wed, 28 Oct 2015 07:01:06 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZrKjH-0004dm-8o for pgsql-bugs@postgresql.org; Wed, 28 Oct 2015 07:01:06 +0000 MIME-Version: 1.0 Subject: BUG #13742: postgres deletes needed files in pg_clog To: pgsql-bugs@postgresql.org From: roland.otta@hotmail.com Date: Wed, 28 Oct 2015 07:00:30 +0000 Message-ID: <20151028070030.3017.62119@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.2 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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