Re: Tablespaces in the data directory

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: Tablespaces in the data directory
Дата
Msg-id 20121205010442.GA16472@tornado.leadboat.com
обсуждение исходный текст
Ответ на Re: Tablespaces in the data directory  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On Mon, Dec 03, 2012 at 01:14:30PM -0500, Andrew Dunstan wrote:
> I think it would be reasonable for it to complain if it came across a  
> PG_VERSION file in an unexpected location.

That sounds like a reliable approach to detecting the hazard.  Pseudocode:
chdir(proposed_tablespace_path)do {    if (stat("PG_VERSION"))        ereport(WARNING, ...)} while (chdir(".."))



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] PITR potentially broken in 9.2
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [BUGS] PITR potentially broken in 9.2