| From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
|---|---|
| To: | adyakovam(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org |
| Cc: | Bryan Green <dbryan(dot)green(at)gmail(dot)com> |
| Subject: | Re: BUG #19539: psql 17.6 on Windows 11 prints random garbage characters in Russian localized output of \d |
| Date: | 2026-07-01 02:36:05 |
| Message-ID: | CA+hUKGL8ouZGAvGLb4uSxqVYxmS1tOjYOWgPo_P_pSmOhYeUpw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
On Tue, Jun 30, 2026 at 3:12 AM PG Bug reporting form
<noreply(at)postgresql(dot)org> wrote:
> When running \d <table> in Russian localization, the output sometimes
> contains random garbage Unicode characters immediately after the localized
> header "По умолчанию".
>
> Example:
>
> Таблица "public.articles"
> Столбец | Тип | Правило сортировки | Допустимость NULL | По умолчанию
> ⫐鄢ʧ
>
> The garbage characters change every execution.
Do any other languages show clues? Could you please try Ukrainian,
Greek, Japanese?
#: describe.c:2070 describe.c:4572
msgid "Default"
msgstr "По умолчанию"
headers[cols++] = gettext_noop("Default");
That is then fed through pg_wcsformat(). I wonder if that could be
confused about encodings and NUL terminators or something, but I don't
have a specific theory. Could you please locate the relevant psql.mo
file and share it, so we can check it contains the expected byte
sequence?
| From | Date | Subject | |
|---|---|---|---|
| Previous Message | surya poondla | 2026-06-30 20:50:19 | Re: BUG #19382: Server crash at __nss_database_lookup |