]> granicus.if.org Git - postgresql/commit
Make 8.3.x psql print tab characters as an appropriate number of spaces,
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 May 2008 19:34:44 +0000 (19:34 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 May 2008 19:34:44 +0000 (19:34 +0000)
commit8146f890bb7fd6354074787ce974439ebb6e971c
tree17c22ef60e8d786b8446a985d75b3265ba1dfad7
parentfe4f2861baae68dbb044cca7ffb86b667a649ad7
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.
src/bin/psql/mbprint.c
src/bin/psql/mbprint.h
src/test/regress/expected/prepare.out