Re: check for missing tablespaces?

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: check for missing tablespaces?
Дата
Msg-id 4A22C6CD.8060503@dunslane.net
обсуждение исходный текст
Ответ на Re: check for missing tablespaces?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: check for missing tablespaces?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: check for missing tablespaces?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: check for missing tablespaces?