Escape output of pg_amcheck test - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Escape output of pg_amcheck test
Date
Msg-id 3f96f079-64e5-468a-8a19-cb481f0d31e5@eisentraut.org
Whole thread Raw
Responses Re: Escape output of pg_amcheck test
Re: Escape output of pg_amcheck test
List pgsql-hackers
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.
Attachment

pgsql-hackers by date:

Previous
From: Junwang Zhao
Date:
Subject: Re: Change GUC hashtable to use simplehash?
Next
From: Bertrand Drouvot
Date:
Subject: Re: Add a perl function in Cluster.pm to generate WAL