pgsql: Make 8.3.x psql print tab characters as an appropriate number of

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make 8.3.x psql print tab characters as an appropriate number of
Date: 2008-05-29 19:34:44
Message-ID: 20080529193444.17717754C54@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
pgsql/src/bin/psql:
mbprint.c (r1.29 -> r1.29.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/mbprint.c?r1=1.29&r2=1.29.2.1)
mbprint.h (r1.11 -> r1.11.4.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/mbprint.h?r1=1.11&r2=1.11.4.1)
pgsql/src/test/regress/expected:
prepare.out (r1.15 -> r1.15.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/prepare.out?r1=1.15&r2=1.15.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message User Gleu 2008-05-29 20:18:40 pgsnap - pgsnap: Bugfix : Objects from schemas out of search_path
Previous Message User Gleu 2008-05-29 19:01:48 pgsnap - pgsnap: Bugfix : Blocks read et Blocks hit informations were