Re: Fix for defaults in createuser

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Fix for defaults in createuser
Дата
Msg-id Pine.LNX.4.30.0101211152550.757-100000@peter.localdomain
обсуждение исходный текст
Ответ на Fix for defaults in createuser  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Fix for defaults in createuser  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian writes:

> !       if [ $REPLY = "y" -o $REPLY = "Y" ]; then
>
> fixed to:
>
> !       if [ "$REPLY" = "y" -o "$REPLY" = "Y" ]; then

Good.

FYI, it's never necessary to quote the right side of a shell variable
assignment.

FOO=$BAR

always works, as does

case $foo in ...

But it doesn't hurt of course.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Re: Patch to support transactions with BLOBs for current CVS
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Fix for defaults in createuser