Re: In pg_upgrade, remove 'set -x' from test script.

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: In pg_upgrade, remove 'set -x' from test script.
Дата
Msg-id 1354595883.30219.4.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: In pg_upgrade, remove 'set -x' from test script.  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: In pg_upgrade, remove 'set -x' from test script.
Список pgsql-hackers
On Mon, 2012-12-03 at 23:26 -0500, Bruce Momjian wrote:
> On Mon, Dec  3, 2012 at 11:24:08PM -0500, Peter Eisentraut wrote:
> > Why was this change made?
> 
> I asked Andrew and he had no idea why a 'set -x' would be in the script.
> I ran the script and saw the commands being echoed.  Was that
> intentional?

yes

> If so, I can add it back,

please

> but it would be good to add a
> comment as to why it was being used, because Andrew and I had no idea,
> and thought it was a mistake.

Well, it is so you can see what's being run in case you see failures or
odd output.  It's usually fairly self-evident what set -x does, but feel
free to comment it.




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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: support for LDAP URLs
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: In pg_upgrade, remove 'set -x' from test script.