New improved version of bpcharin() may have got the truncation case

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 7c0c9b3ccec4718c1c7cef7b5282fd56b727d965
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-06-01T17:49:17Z
Releases: 7.2.1
New improved version of bpcharin() may have got the truncation case
right, but it failed to get the padding case right.

This was obscured by subsequent application of bpchar() in all but one
regression test case, and that one didn't fail in an obvious way ---
trailing blanks are hard to see.  Add another test case to make it
more obvious if it breaks again.

Files