forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6a3631e
committed
Escape output of pg_amcheck test
The pg_amcheck test reports a skip message if the layout of the indexdoes not match expectations. That message includes the bytes thatwere expected and the ones that were found. But the found ones arearbitrary bytes, which can have funny effects on the terminal whenthey are printed. To avoid that, escape non-word characters beforeprinting.Reviewed-by: Aleksander Alekseev <aleksander@timescale.com>Discussion:https://www.postgresql.org/message-id/flat/3f96f079-64e5-468a-8a19-cb481f0d31e5%40eisentraut.org1 parent36578fa commit6a3631e
1 file changed
+4
-3
lines changedLines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
367 | 367 |
| |
368 | 368 |
| |
369 | 369 |
| |
370 |
| - | |
371 |
| - | |
| 370 | + | |
372 | 371 |
| |
373 |
| - | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
374 | 375 |
| |
375 | 376 |
| |
376 | 377 |
| |
|
0 commit comments
Comments
(0)