Skip site navigation (1) Skip section navigation (2)

Re: BUG #6480: NLS text width problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sergey Burladyan <eshkinkot(at)gmail(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6480: NLS text width problem
Date: 2012-03-08 00:27:15
Message-ID: 24663.1331166435@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Sergey Burladyan <eshkinkot(at)gmail(dot)com> writes:
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

pgsql-bugs by date

Next:From: Dimitri FontaineDate: 2012-03-08 16:59:57
Subject: Re: Extension tracking temp table and causing update failure
Previous:From: Tom LaneDate: 2012-03-07 22:08:25
Subject: Re: Extension tracking temp table and causing update failure

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group