Re: [BUGS] BUG #6480: NLS text width problem

2012-03-12 Thread Sergey Burladyan
Tom Lane writes: > Ah, nevermind --- I re-read the patch and realized that it was already > doing exactly what I said. Committed, sorry for the noise. Great, thank you, Tom! -- Sergey Burladyan -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscript

Re: [BUGS] BUG #6480: NLS text width problem

2012-03-07 Thread Tom Lane
Sergey Burladyan writes: > Tom Lane 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 an

Re: [BUGS] BUG #6480: NLS text width problem

2012-03-07 Thread Sergey Burladyan
Tom Lane 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 som

Re: [BUGS] BUG #6480: NLS text width problem

2012-03-06 Thread Tom Lane
Sergey Burladyan writes: > Peter Eisentraut writes: >> Can you prepare a patch? > Surely, I was sent this patch to pgsql-hackers and added to the > commitfest-next to > be sure I'll never lost it > https://commitfest.postgresql.org/action/patch_view?id=816 Hmm, this patch makes it obvious tha

Re: [BUGS] BUG #6480: NLS text width problem

2012-03-06 Thread Sergey Burladyan
Peter Eisentraut writes: > On ons, 2012-02-22 at 22:37 +0400, Sergey Burladyan wrote: > > eshkin...@gmail.com writes: > > > > > The following bug has been logged on the website: > > > > > > Bug reference: 6480 > > > Logged by: Sergey Burladyan > > > Email address: eshkin...@gm

Re: [BUGS] BUG #6480: NLS text width problem

2012-03-02 Thread Peter Eisentraut
On ons, 2012-02-22 at 22:37 +0400, Sergey Burladyan wrote: > eshkin...@gmail.com writes: > > > The following bug has been logged on the website: > > > > Bug reference: 6480 > > Logged by: Sergey Burladyan > > Email address: eshkin...@gmail.com > > PostgreSQL version: 9.1.2 > > O

Re: [BUGS] BUG #6480: NLS text width problem

2012-02-22 Thread Sergey Burladyan
eshkin...@gmail.com writes: > The following bug has been logged on the website: > > Bug reference: 6480 > Logged by: Sergey Burladyan > Email address: eshkin...@gmail.com > PostgreSQL version: 9.1.2 > Operating system: Debian testing > Description: > > This code incorr

[BUGS] BUG #6480: NLS text width problem

2012-02-21 Thread eshkinkot
The following bug has been logged on the website: Bug reference: 6480 Logged by: Sergey Burladyan Email address: eshkin...@gmail.com PostgreSQL version: 9.1.2 Operating system: Debian testing Description: This code incorrectly calculate width for translated text if it