Re: [NOVICE] encoding problems - Mailing list pgsql-patches

From Tom Lane
Subject Re: [NOVICE] encoding problems
Date
Msg-id 8378.1210176400@sss.pgh.pa.us
Whole thread Raw
In response to Re: [NOVICE] encoding problems  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [NOVICE] encoding problems
List pgsql-patches
Bruce Momjian <bruce@momjian.us> writes:
> I have implemented the following patch which outputs tab as a tab.  It
> also assumes a tab has a width of 4, which is its average width:

That pretty much completely sucks; it will undo all the hard work we've
put into nice formatting of the output, because seven times out of eight
this assumption is wrong.

An actually acceptable solution would involve emitting the correct
number of spaces depending on how much we've put out so far.

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [NOVICE] encoding problems
Next
From: Bruce Momjian
Date:
Subject: Re: [NOVICE] encoding problems