Make 8.3.x psql print tab characters as an appropriate number of spaces,
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| 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 |