Re: Minor improvements to test log navigability - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Minor improvements to test log navigability
Date
Msg-id 1501597.1652758852@sss.pgh.pa.us
Whole thread Raw
In response to Re: Minor improvements to test log navigability  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
Thomas Munro <thomas.munro@gmail.com> writes:
> ... Admittedly that is nothing compared to the huge amount of extra log
> spam caused by regression.diffs filling up with these:

Yeah, that's really the main problem.

> I wonder if there would be a good way to filter those "never managed
> to connect" cases out...  Exit code 2 (EXIT_BADCONN) is not the
> answer, because you get that also for servers that go away due to a
> crash where you do want to be able to see the diff, for information
> about where it crashed.

Maybe pg_regress could check that postmaster.pid is still there
before launching each new test script?  (Obviously this all applies
only to "make check" not "make installcheck".)

            regards, tom lane



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Backends stunk in wait event IPC/MessageQueueInternal
Next
From: Amit Kapila
Date:
Subject: Re: Skipping schema changes in publication