From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sergey Burladyan <eshkinkot@gmail.com>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6480: NLS text width problem
Date: Wed, 07 Mar 2012 19:27:15 -0500
Message-ID: <24663.1331166435@sss.pgh.pa.us> (raw)
In-Reply-To: <87eht4rd8u.fsf@home.progtech.ru>
References: <E1RzxD1-0003Tf-1y@wrigleys.postgresql.org>
<87obsq4sus.fsf@home.progtech.ru>
<1330714739.11007.4.camel@vanquo.pezone.net>
<87hay1iksj.fsf@home.progtech.ru>
<23924.1331081368@sss.pgh.pa.us>
<87eht4rd8u.fsf@home.progtech.ru>
Sergey Burladyan <eshkinkot@gmail.com> writes:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>> I think it'd be better to avoid depending on %*s for the data string
>> and instead use it (with appropriate adjustment of the calculation)
>> for the space-separator part of the format. Since that's a constant
>> empty string, there shouldn't be any possibility of libc doing something
>> other than what we intend.
> Sorry, I'm going on vacation for four days. Can't answer right now...
Ah, nevermind --- I re-read the patch and realized that it was already
doing exactly what I said. Committed, sorry for the noise.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, eshkinkot@gmail.com, peter_e@gmx.net
Subject: Re: BUG #6480: NLS text width problem
In-Reply-To: <24663.1331166435@sss.pgh.pa.us>
References: <E1RzxD1-0003Tf-1y@wrigleys.postgresql.org> <87obsq4sus.fsf@home.progtech.ru> <1330714739.11007.4.camel@vanquo.pezone.net> <87hay1iksj.fsf@home.progtech.ru> <23924.1331081368@sss.pgh.pa.us> <87eht4rd8u.fsf@home.progtech.ru> <24663.1331166435@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox