Re: check for missing tablespaces?

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: check for missing tablespaces?
Date: 2009-05-31 18:05:01
Message-ID: 4A22C6CD.8060503@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> So what you're imagining is
>
> * iterate through each symlink in $PGDATA/pg_tblspc
> * check that PG_VERSION exists (and has the right contents??) in
> each pointed-to directory
> * fail if not
>
> I guess this is reasonable, since we make a similar check for the core
> data directory itself. Watch out for the initdb sequence though.
>
>
>

I'll put this on my TODO list.

I'm not sure about the initdb reference - there won't be any tablespaces
to check for during initdb, will there?

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-05-31 18:25:07 Re: check for missing tablespaces?
Previous Message Tom Lane 2009-05-31 17:59:08 Re: check for missing tablespaces?