Re: pg_ctl failure with older Bourne shells (use ${1:+"$@"})
В списке pgsql-bugs по дате отправления:
| От | Bruce Momjian |
|---|---|
| Тема | Re: pg_ctl failure with older Bourne shells (use ${1:+"$@"}) |
| Дата | |
| Msg-id | 200207191532.g6JFWf311237@candle.pha.pa.us обсуждение |
| Ответ на | Re: pg_ctl failure with older Bourne shells (use ${1:+"$@"}) (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-bugs |
Tom Lane wrote:
> > We only use "$@" in a few places so I am applying this patch.
>
> Could you check for other scripts where the same thing may have snuck
> in?
Yes, I checked, and I saw pgaccess using it too. I sent them a patch.
>
> BTW, O'Reilly's "Unix Power Tools" recommends
> ${1+"$@"}
> as the most portable replacement for "$@". Mike's version has :+
> which is not the same. My man page for the Bourne shell says
Changed.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера