Re: pgsql: Add TAP test for archive_cleanup_command and recovery_end_comman
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>, Andres Freund <andres@anarazel.de>, Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-04-19T02:33:25Z
Lists: pgsql-hackers
On Tue, Apr 19, 2022 at 09:45:11AM +1200, Thomas Munro wrote: > Delayed response to the question on how I did that, because it was a 4 > day weekend down here and I got distracted by sunshine... Happy Easter. > I think that sort of thing actually worked when I tried it on a > beefier workstation, but it sent my Thinkpad that "only" has a 16GB of > RAM into some kind of death spiral. The way I succeeded was indeed > using a wrapper script, based on a suggestion from Andres, my > kludgy-hardcoded-path-assuming implementation of which looked like: > > Yeah, it might be quite neat to find a tool-supported way to do that. Thanks for the details. I feared that it was something like that for the backend. At least that's better than having valgrind spawn all the processes kicked by the make command. :/ > Tangentially, I'd also like to look into making > PostgreSQL-under-Valgrind work on FreeBSD and macOS, which didn't work > last time I tried it for reasons that might, I hope, have been fixed > on the Valgrind side by now. Okay. As a side note, skink has cooled down since acf1dd4, and did not complain either after the additions of e61efaf and 1a8b110. -- Michael
Commits
-
Fix second race condition in 002_archiving.pl with archive_cleanup_command
- 1a8b110539ef 15.0 landed
-
Fix race in TAP test 002_archiving.pl when restoring history file
- 4751a13b63de 11.16 landed
- a57399d70c7a 12.11 landed
- a6fc64b9a85e 13.7 landed
- 8bcf90c7a67c 14.3 landed
- e61efafcb82c 15.0 landed
-
Don't retry restore_command while reading ahead.
- acf1dd42342d 15.0 landed
-
Add TAP test for archive_cleanup_command and recovery_end_command
- 46dea2419ee7 15.0 cited