Move the check for whether walreceiver has authenticated as a superuser

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a3c6d105752c28dbd19d0558733a2157e6ab55e0
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-04-21T00:51:57Z
Releases: 9.0.0
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).

Files

PathChange+/−
src/backend/replication/walsender.c modified +2 −7
src/backend/utils/init/postinit.c modified +6 −1