Move the check for whether walreceiver has authenticated as a superuser
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/walsender.c | modified | +2 −7 |
| src/backend/utils/init/postinit.c | modified | +6 −1 |