Move the check for whether walreceiver has authenticated as a superuser
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 21 Apr 2010 00:51:57 +0000 (00:51 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 21 Apr 2010 00:51:57 +0000 (00:51 +0000)
commita3c6d105752c28dbd19d0558733a2157e6ab55e0
tree52faf827f4f761ba8fbd311c262e06cfa552e7d6
parentea46000a40cf583401504e095ca1a49f57fa0227
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).
src/backend/replication/walsender.c
src/backend/utils/init/postinit.c