Re: Win32 link() function

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Win32 link() function
Дата
Msg-id 200906010409.n5149gZ23701@momjian.us
обсуждение исходный текст
Ответ на Re: Win32 link() function  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Win32 link() function  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Tom Lane wrote:
> >> (Come to think of it, --link can fail on Unix too, if the user tries to
> >> put the new database on a different filesystem.  Have you got guards in
> >> there to make sure this is discovered before the point of no return?)
> 
> > Of course:
> > ...
> > though you have to delete the new cluster directory and remove the _old
> > suffixes to get your old cluster back.
> 
> That wasn't what I had in mind by "before the point of no return".
> You should be making some effort to detect obvious failure cases
> *before* the user has to do a lot of error-prone manual cleanup.

That is something I will address during beta as I get problem reports.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Win32 link() function
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Win32 link() function