[Pkg-postgresql-public] Bug#671915: Got the same problem

Пушкин Сергей pushkinsv at gmail.com
Thu Jun 21 04:22:13 UTC 2012


Package: postgresql-9.1
Version: 9.1.4-1
Severity: normal

Server error messages which comes before database connection seems to be  
localized
and displayed with '?' instead of letters both in client (local or remote  
- doesnt matter) messages and server log.

This problem first appear in postgresql-9.1 version 9.1.3-1
Previous version 9.1.2-4 found in debian snapshot displays messages in  
english.

how to reproduce:

install postgresql-9.1 and run psql with wrong credentials, will output  
broken error message:

# aptitude install postgresql-9.1

# psql
psql: ????:  ???? "root" ?? ??????????

after succesfull connection furher error messages are show normally with  
right locale and encoding:

# sudo -u postgres psql
psql (9.1.3, сервер 9.1.4)
Введите "help", чтобы получить справку.

postgres=# asdfad;
ОШИБКА:  ошибка синтаксиса (примерное положение: "asdfad")
СТРОКА 1: asdfad;
           ^
postgres=# \q

manually installing on the same computer postgresql-9.1_9.1.2-4_amd64.deb  
and running psql will
result in readable english error message:

# psql
psql: FATAL:  role "root" does not exist


-- System Information:
Debian Release: wheezy/sid
   APT prefers testing
   APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages postgresql-9.1 depends on:
ii  libc6                  2.13-32
ii  libcomerr2             1.42.2-2
ii  libgssapi-krb5-2       1.10+dfsg~beta1-2
ii  libkrb5-3              1.10+dfsg~beta1-2
ii  libldap-2.4-2          2.4.28-1.1
ii  libpam0g               1.1.3-7
ii  libpq5                 9.1.3-2
ii  libssl1.0.0            1.0.1c-1
ii  libxml2                2.7.8.dfsg-9
ii  locales                2.13-32
ii  postgresql-client-9.1  9.1.3-2
ii  postgresql-common      130
ii  ssl-cert               1.0.28
ii  tzdata                 2012c-1

postgresql-9.1 recommends no packages.

Versions of packages postgresql-9.1 suggests:
pn  locales-all             <none>
pn  oidentd | ident-server  <none>

-- no debconf information


-- 
Сергей Пушкин





More information about the Pkg-postgresql-public mailing list