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

Lists: pgsql-committers
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
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)