File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.206 2010/03/21 00:17:59 petere Exp $
11
+ * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.207 2010/03/24 21:25:50 sriggs Exp $
12
12
*
13
13
*
14
14
*-------------------------------------------------------------------------
@@ -222,8 +222,11 @@ PerformAuthentication(Port *port)
222
222
*/
223
223
if (am_walsender )
224
224
ereport (LOG ,
225
- (errmsg ("connection authorized: user=%s database=%s" ,
226
- port -> user_name , "replication" )));
225
+ (errmsg ("replication connection authorized: user=%s host=%s%s%s" ,
226
+ port -> user_name ,
227
+ port -> remote_host , port -> remote_port [0 ] ? " port=" : "" ,
228
+ port -> remote_port )));
229
+
227
230
else if (Log_connections )
228
231
ereport (LOG ,
229
232
(errmsg ("connection authorized: user=%s database=%s" ,
You can’t perform that action at this time.
0 commit comments