BUG #14369: incorrect translation of error message to russian
The following bug has been logged on the website:
Bug reference: 14369
Logged by: Alexey Ermakov
Email address: alexey.ermakov@postgresql-consulting.com
PostgreSQL version: 9.5.4
Operating system: CentOS Linux release 7.2.1511 (Core)
Description:
Hello,
it seems there is confusing error message in russian when client is trying
to connect from a host which is not in pg_hba.
it says that connection is used for replication but in fact it is not.
/src/backend/po/ru.po:11605
#: libpq/auth.c:482
#, c-format
msgid "no pg_hba.conf entry for host \"%s\", user \"%s\", database \"%s\",
%s"
msgstr ""
"в pg_hba.conf нет записи, разрешающей подключение для репликации с "
"компьютера \"%s\" для пользователя \"%s\", базы данных \"%s\", %s"
I think it should be something like this:
#: libpq/auth.c:482
#, c-format
msgid "no pg_hba.conf entry for host \"%s\", user \"%s\", database \"%s\",
%s"
msgstr ""
"в pg_hba.conf нет записи, разрешающей подключение с "
"компьютера \"%s\" для пользователя \"%s\", базы данных \"%s\", %s"
steps to reproduce:
1) comment out line in default pg_hba:
#host all all 127.0.0.1/32 ident
2) lc_messages = ru_RU.UTF-8
3) reload
4)
-bash-4.2$ psql -h 127.0.0.1
psql: ВАЖНО: в pg_hba.conf нет записи, разрешающей подключение для
репликации с компьютера "127.0.0.1" для пользователя "postgres", базы данных
"postgres", SSL выкл.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs