Re: pgsql: Change replication connection log format to allow for a database

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pgsql: Change replication connection log format to allow for a database
Дата
Msg-id 20100325200915.GD4350@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: pgsql: Change replication connection log format to allow for a database  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-committers
Heikki Linnakangas wrote:
> Heikki Linnakangas wrote:
> > I'm afraid this doesn't translate well:
> >
> >> --- 222,232 ----
> >>        */
> >>       if (am_walsender)
> >>           ereport(LOG,
> >> !                 (errmsg("replication connection authorized: user=%s host=%s%s%s",
> >> !                         port->user_name,
> >> !                         port->remote_host, port->remote_port[0] ? " port=" : "",
> >> !                         port->remote_port)));
> >> !
> >>       else if (Log_connections)
> >>           ereport(LOG,
> >>                   (errmsg("connection authorized: user=%s database=%s",
>
> Ok, I just realized that this was copy-pasted from BackendInitialize, so
> I guess it's OK as it is...

Actually it would be good to correct both per your previous suggestion.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

В списке pgsql-committers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: pgsql: Change replication connection log format to allow for a database
Следующее
От: sriggs@postgresql.org (Simon Riggs)
Дата:
Сообщение: pgsql: Modify some new and pre-existing messages for translatability.