Re: buildfarm warnings
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Justin Pryzby <pryzby@telsasoft.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, Alexander Korotkov <akorotkov@postgresql.org>
Date: 2022-02-17T20:51:41Z
Lists: pgsql-hackers
On 2022-02-17 15:22:08 -0500, Robert Haas wrote: > OK, sounds good, thanks. I couldn't (and still can't) think of a good > way of testing the progress-reporting code either. I mean I guess if > you could convince pg_basebackup not to truncate the filenames, maybe > by convincing it that your terminal is as wide as your garage door, > then you could capture the output and do some tests against it. But I > feel like the test code would be two orders of magnitude larger than > the code it intends to exercise, and I'm not sure it would be entirely > robust, either. How about just running pg_basebackup with --progress in one or two of the tests? Of course that's not testing very much, but at least it verifies not crashing...
Commits
-
Avoid dangling-pointer usage in pg_basebackup progress reports.
- 62cb7427d1e4 15.0 landed
-
Delete contrib/xml2's legacy implementation of xml_is_well_formed().
- fd2abeb7c2b2 15.0 landed