Make 8.3.x psql print tab characters as an appropriate number of spaces,

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

Commit: 8146f890bb7fd6354074787ce974439ebb6e971c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-05-29T19:34:44Z
Releases: 8.3.2
Make 8.3.x psql print tab characters as an appropriate number of spaces,
rather than "\x09".  Before 8.3 we just printed tabs as-is, leading to poor
formatting of subsequent columns, but consensus is that "\x09" is not an
improvement over that.  Back-patch of fix that's already in HEAD.

Files

PathChange+/−
src/bin/psql/mbprint.c modified +36 −13
src/bin/psql/mbprint.h modified +3 −2
src/test/regress/expected/prepare.out modified +16 −16