Re: check for missing tablespaces? - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: check for missing tablespaces?
Date
Msg-id 4A22C6CD.8060503@dunslane.net
Whole thread Raw
In response to Re: check for missing tablespaces?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: check for missing tablespaces?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: check for missing tablespaces?
Next
From: Tom Lane
Date:
Subject: Re: check for missing tablespaces?