pg_upgrade test chatter

From: "Bossart, Nathan" <bossartn(at)amazon(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_upgrade test chatter
Date: 2021-10-19 17:41:29
Message-ID: DCBAE0E4-BD56-482F-8A70-7FD0DC0860BE@amazon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi hackers,

I run 'make check-world' a lot, and I typically use parallelism and
redirect stdout to /dev/null as suggested in the docs [0]. This seems
to eliminate all of the test chatter except for this one message:

NOTICE: database "regression" does not exist, skipping

This is emitted by the installcheck-parallel run in the pg_upgrade
test. Sending stderr to stdout clears it up, but presumably we don't
want to miss other errors, too. We could also just create the
database it is trying to drop to silence the NOTICE. This is what the
attached patch does.

This is admittedly just a pet peeve, but maybe it is bothering others,
too.

Nathan

[0] https://www.postgresql.org/docs/devel/regress-run.html

Attachment Content-Type Size
eliminate_test_chatter.patch application/octet-stream 591 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2021-10-19 18:00:40 Re: pg_upgrade test chatter
Previous Message Zhihong Yu 2021-10-19 17:29:40 Re: UPDATE on Domain Array that is based on a composite key crashes