Fix output of Unicode normalization test

Peter Eisentraut <peter@eisentraut.org>

Commit: b802412106e82ccf1aef36a4984e321082c122cb
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2019-12-11T07:42:17Z
Releases: 13.0
Fix output of Unicode normalization test

Several off-by-more-than-one errors caused the output in case of a
test failure to be truncated and unintelligible.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/6a7a8516-7d11-8fbd-0e8b-eadb4f0679eb%402ndquadrant.com

Files

PathChange+/−
src/common/unicode/norm_test.c modified +9 −6

Discussion