Обсуждение: pgsql: Move the check for whether walreceiver has authenticated as a

Поиск
Список
Период
Сортировка

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

От
tgl@postgresql.org (Tom Lane)
Дата:
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)