pgsql: Move the check for whether walreceiver has authenticated as a

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Move the check for whether walreceiver has authenticated as a
Date: 2010-04-21 00:51:57
Message-ID: 20100421005157.397FD7541D0@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Move the check for whether walreceiver has authenticated as a superuser
from walsender.c, where it didn't really belong, to postinit.c where it does
belong (and is essentially free, too).

Modified Files:
--------------
pgsql/src/backend/replication:
walsender.c (r1.16 -> r1.17)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/replication/walsender.c?r1=1.16&r2=1.17)
pgsql/src/backend/utils/init:
postinit.c (r1.210 -> r1.211)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/init/postinit.c?r1=1.210&r2=1.211)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-04-21 03:32:53 pgsql: Fix pg_hba.conf matching so that replication connections only
Previous Message Tom Lane 2010-04-20 23:48:50 pgsql: Arrange for client authentication to occur before we select a