Re: BUG #12755: pg_upgrage creates potentially dangerous delete_old_cluster.bat

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: BUG #12755: pg_upgrage creates potentially dangerous delete_old_cluster.bat
Дата
Msg-id 20150210181116.GD18557@momjian.us
обсуждение исходный текст
Ответ на BUG #12755: pg_upgrage creates potentially dangerous delete_old_cluster.bat  (toni.helenius@syncrontech.com)
Ответы Re: BUG #12755: pg_upgrage creates potentially dangerous delete_old_cluster.bat
Список pgsql-bugs
On Tue, Feb 10, 2015 at 10:44:41AM +0000, toni.helenius@syncrontech.com wrote:
> The following bug has been logged on the website:
>
> Bug reference:      12755
> Logged by:          Toni Helenius
> Email address:      toni.helenius@syncrontech.com
> PostgreSQL version: 9.4.1
> Operating system:   Windows 7
> Description:
>
> pg_upgrage creates potentially dangerous delete_old_cluster.bat. RMDIR
> without quotes.
>
> RMDIR /s/q C:\Program Files\PostgreSQL\9.3\data
>
> Executes as:
> RMDIR /s/q C:\Program
>
> Needs quotes!!

Wow, very good point.  Not sure why this problem was not reported
before.  Patch attached.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +

Вложения

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

Предыдущее
От: dean deloach
Дата:
Сообщение: Re: BUG #12749: WARNING: unrecognized node type: 701
Следующее
От: dean deloach
Дата:
Сообщение: Re: BUG #12749: WARNING: unrecognized node type: 701