check for missing tablespaces?

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: check for missing tablespaces?
Date: 2009-05-31 17:09:19
Message-ID: 4A22B9BF.8050804@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


I am in the middle of helping a customer recover from a situation where
a tablespace was missing when a machine was rebooted and postgres
restarted, and I'm wondering if we should not have some sort of check
for this on startup. Maybe we could check for the existence of the
PG_VERSION file or something like that? Of course, that wouldn't help if
the tablespace were subsequently lost, but it doesn't seem like a
terribly expensive or unreasonable sanity check for startup.

cheers

andrew

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2009-05-31 17:23:46 Re: check for missing tablespaces?
Previous Message Tom Lane 2009-05-31 17:00:44 Re: [HACKERS] BUG #4822: xmlattributes encodes '&' twice