Re: [PATCHES] odd output in restore mode

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [PATCHES] odd output in restore mode
Дата
Msg-id 200812152115.mBFLFpV20891@momjian.us
обсуждение исходный текст
Ответ на Re: [PATCHES] odd output in restore mode  (Martin Zaun <Martin.Zaun@Sun.COM>)
Ответы Re: [PATCHES] odd output in restore mode  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Martin Zaun wrote:
> 4. Issue: missing break in switch, silent override of '-l' argument?
> 
> This behaviour has been in there before and is not addresses by the
> patch: The user-selected Win32 "mklink" command mode is never applied
> due to a missing 'break' in CustomizableInitialize():
> 
>      switch (restoreCommandType)
>      {
>          case RESTORE_COMMAND_WIN32_MKLINK:
>              SET_RESTORE_COMMAND("mklink", WALFilePath, xlogFilePath);
>          case RESTORE_COMMAND_WIN32_COPY:
>              SET_RESTORE_COMMAND("copy", WALFilePath, xlogFilePath);
>              break;

I have added the missing 'break' to CVS HEAD;  thanks.

--  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 по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Sync Rep: First Thoughts on Code
Следующее
От: Ron Mayer
Дата:
Сообщение: Re: Sync Rep: First Thoughts on Code