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

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Simon Riggs <sriggs(at)postgresql(dot)org>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Change replication connection log format to allow for a database
Date: 2010-03-25 16:54:57
Message-ID: 4BAB9561.5060300@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-03-25 17:00:18 Re: pgsql: Change replication connection log format to allow for a database
Previous Message Heikki Linnakangas 2010-03-25 16:52:46 Re: pgsql: Change replication connection log format to allow for a database