Re: pgsql: Change replication connection log format to allow for a database - Mailing list pgsql-committers

From Heikki Linnakangas
Subject Re: pgsql: Change replication connection log format to allow for a database
Date
Msg-id 4BAB9561.5060300@enterprisedb.com
Whole thread Raw
In response to Re: pgsql: Change replication connection log format to allow for a database  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: pgsql: Change replication connection log format to allow for a database
Re: pgsql: Change replication connection log format to allow for a database
List pgsql-committers
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...

--
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: pgsql: Change replication connection log format to allow for a database
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Change replication connection log format to allow for a database