pgsql: Make pg_upgrade's test.sh less chatty.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Make pg_upgrade's test.sh less chatty.
Дата
Msg-id E1hT8J2-0007nF-O4@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Make pg_upgrade's test.sh less chatty.

The use of "set -x" to echo a subset of the test's commands might've
been a good idea during development of this test, but it's been stable
for long enough now that the extra output isn't very useful.  Also
our project expectations have been trending towards less output in
non-error cases; the fact that "set -x" produces output on stderr
is particularly annoying from that standpoint.  So get rid of it.

Also, pass "-A trust" to initdb explicitly so that it won't issue
a warning about "trust" being an insecure default.  This matches
what the TAP tests have done for a long time, and again gets rid
of some noise on stderr.

Discussion: https://postgr.es/m/21766.1558397960@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/eb9812f272db8e93416831e5254569b76edf8264

Modified Files
--------------
src/bin/pg_upgrade/test.sh | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Make VACUUM accept 1 and 0 as a boolean value.
Следующее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Make VACUUM accept 1 and 0 as a boolean value.