Re: pgsql: pg_upgrade: quote directory names in delete_old_cluster script

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pgsql: pg_upgrade: quote directory names in delete_old_cluster script
Дата
Msg-id 20150216214435.GC24298@momjian.us
обсуждение исходный текст
Ответ на Re: pgsql: pg_upgrade: quote directory names in delete_old_cluster script  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: pgsql: pg_upgrade: quote directory names in delete_old_cluster script  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-committers
On Sun, Feb 15, 2015 at 12:02:44PM -0500, Peter Eisentraut wrote:
> On 2/11/15 10:06 PM, Bruce Momjian wrote:
> > pg_upgrade:  quote directory names in delete_old_cluster script
> >
> > This allows the delete script to properly function when special
> > characters appear in directory paths, e.g. spaces.
>
> Wouldn't single quotes be better than double quotes if you want to
> defend against special characters?

I thought of that.  Windows only does double-quotes, I think, and I
didn't see any value to doing a platform-specific quoting.  Do you?

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

  + Everyone has their own god. +


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

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: pgsql: Eliminate unnecessary NULL checks in picksplit method of intarra
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pgsql: pg_upgrade: quote directory names in delete_old_cluster script