Re: BUG #6480: NLS text width problem

From: Sergey Burladyan <eshkinkot(at)gmail(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6480: NLS text width problem
Date: 2012-03-06 19:36:28
Message-ID: 87hay1iksj.fsf@home.progtech.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:

> On ons, 2012-02-22 at 22:37 +0400, Sergey Burladyan wrote:
> > eshkinkot(at)gmail(dot)com writes:
> >
> > > The following bug has been logged on the website:
> > >
> > > Bug reference: 6480
> > > Logged by: Sergey Burladyan
> > > Email address: eshkinkot(at)gmail(dot)com
> > > PostgreSQL version: 9.1.2
> > > Operating system: Debian testing
> > > Description:
> > >
> > > This code incorrectly calculate width for translated text if it multibyte
> > > string. strlen(ct) vs. UTF-8
> > >
> > > src/bin/psql/describe.c:2100
>
> 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

Unfortunately, I was sent it with content-disposition: inline by mistake, as
result, web interface divided it by two independent parts. Also this patch for 9.1

To resolve this issue, I was rebased this patch to current master (bc97c38) and send
it as attachment. Here it is:

Attachment Content-Type Size
psql-NLS-text-width.v2.patch text/x-diff 0 bytes

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Phil Sorber 2012-03-06 20:09:00 Extension tracking temp table and causing update failure
Previous Message Matteo Sgalaberni 2012-03-06 15:15:12 corrupted table postgresql 8.3