Skip site navigation (1) Skip section navigation (2)

Patch to remove/report orphaned files

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Patch to remove/report orphaned files
Date: 2001-05-25 04:47:14
Message-ID: 200105250447.f4P4lFr01015@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
This patch removes old sort files on postmaster startup, and reports
orphaned database directory files during database vacuum.

I have not finished testing it yet, but it is almost ready.

I don't think it is necessary to check oid at snapshot time.  It is
enough to check the minimum oid at startup of each backend.  It doesn't
lock its oid checks because the number could be incremented with no
problems.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2001-05-25 05:37:56
Subject: Re: Patch to remove/report orphaned files
Previous:From: Jason TishlerDate: 2001-05-24 21:39:33
Subject: Re: Python (PyGreSQL) make install patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group