Re: pg_dumpall bug in PG 8.0b3 Win32 port

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg_dumpall bug in PG 8.0b3 Win32 port
Дата
Msg-id 200410061706.i96H65H27046@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: pg_dumpall bug in PG 8.0b3 Win32 port  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_dumpall bug in PG 8.0b3 Win32 port  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-patches
Tom Lane wrote:
> "Luiz K. Matsumura" <luiz@planit.com.br> writes:
> > I modified pg_dumpall.c lines between  160 and 270  to add a #ifndef
> > WIN32... #endif clause to pgdumpopts to store
> > the parameters with double quotations intead simple quotation marks in
> > case of WIN32 ports
>
> This seems unnecessarily ugly.  Why not just go over to double quotes?

The patch was actually posted backward so maybe it wasn't clear but the
change is to use double quotes instead of single quotes for Win32
arguments just like we do in other cases in pg_dumpall.c.

Single quotes do not behave the same as single quotes in the WIn32
CMD.EXES processor.  For example, DIR "" and DIR '' produce different
results.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_dumpall bug in PG 8.0b3 Win32 port
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_dumpall bug in PG 8.0b3 Win32 port