pgsql: Move the check for whether walreceiver has authenticated as a - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Move the check for whether walreceiver has authenticated as a
Date
Msg-id 20100421005157.397FD7541D0@cvs.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Arrange for client authentication to occur before we select a
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix pg_hba.conf matching so that replication connections only