Patch for BUG #6480, psql incorrect indent for inherited tables names with UTF-8 NLS

Lists: pgsql-hackers
From: Sergey Burladyan <eshkinkot(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Patch for BUG #6480, psql incorrect indent for inherited tables names with UTF-8 NLS
Date: 2012-02-24 22:43:10
Message-ID: 87r4xjc0ox.fsf@home.progtech.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


See http://archives.postgresql.org/pgsql-bugs/2012-02/msg00164.php

This need function for count characters, not bytes. I find this pg_wcswidth but
it is not used anywhere and broken. So, I fix it and also change it prototype
for remove type casting.

PS: Please help, next week release will be with Russian translation again (thank you,
Alexander!) and this tiny bug is slightly annoying.

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

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Sergey Burladyan <eshkinkot(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Patch for BUG #6480, psql incorrect indent for inherited tables names with UTF-8 NLS
Date: 2012-02-25 03:29:53
Message-ID: 1330124354-sup-5496@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


Excerpts from Sergey Burladyan's message of vie feb 24 19:43:10 -0300 2012:
>
> See http://archives.postgresql.org/pgsql-bugs/2012-02/msg00164.php
>
> This need function for count characters, not bytes. I find this pg_wcswidth but
> it is not used anywhere and broken. So, I fix it and also change it prototype
> for remove type casting.
>
> PS: Please help, next week release will be with Russian translation again (thank you,
> Alexander!) and this tiny bug is slightly annoying.

I'm sorry, but the releases are already tagged :-( So they will contain
the buggy output for a while yet.

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


From: Sergey Burladyan <eshkinkot(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Patch for BUG #6480, psql incorrect indent for inherited tables names with UTF-8 NLS
Date: 2012-02-25 10:29:36
Message-ID: 87obsnp5nz.fsf@home.progtech.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:

> I'm sorry, but the releases are already tagged :-( So they will contain
> the buggy output for a while yet.

Ah, I see, ok, wait next! :)

--
Sergey Burladyan