Escape output of pg_amcheck test
Peter Eisentraut <peter@eisentraut.org>
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2024-01-08T07:27:57Z
Lists: pgsql-hackers
Attachments
- 0001-Escape-output-of-pg_amcheck-test.patch (text/plain) patch 0001
The pg_amcheck reports a skip message if the layout of the index does not match expectations. That message includes the bytes that were expected and the ones that were found. But the found ones are arbitrary bytes, which can have funny effects on the terminal when they are printed. To avoid that, escape non-word characters before printing.
Commits
-
Escape output of pg_amcheck test
- 6a3631e251d1 17.0 landed