diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2024-01-13 20:29:01 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2024-01-13 20:32:18 +0100 |
commit | 6a3631e251d1390673aee469c0cd672cac6195ef (patch) | |
tree | c2c3ec46ab7e9f0532e423d04ad916d84e2cb807 /src/backend/commands/trigger.c | |
parent | 36578fa049421429c99bc9a0f06344dc8b4b5152 (diff) | |
download | postgresql-6a3631e251d1390673aee469c0cd672cac6195ef.tar.gz postgresql-6a3631e251d1390673aee469c0cd672cac6195ef.zip |
Escape output of pg_amcheck test
The pg_amcheck test 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.
Reviewed-by: Aleksander Alekseev <aleksander@timescale.com>
Discussion: https://www.postgresql.org/message-id/flat/3f96f079-64e5-468a-8a19-cb481f0d31e5%40eisentraut.org
Diffstat (limited to 'src/backend/commands/trigger.c')
0 files changed, 0 insertions, 0 deletions