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: (view raw, whole thread or download thread mbox)
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

  Bruce Momjian                        |
  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


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-2017 The PostgreSQL Global Development Group