Thread: pgsql: Move processing of startup-packet switches and GUC settings into
pgsql: Move processing of startup-packet switches and GUC settings into
From
tgl@postgresql.org (Tom Lane)
Date:
Log Message: ----------- Move processing of startup-packet switches and GUC settings into InitPostgres, to fix the problem that SetClientEncoding needs to be done before InitializeClientEncoding, as reported by Zdenek Kotala. We get at least the small consolation of being able to remove the bizarre API detail that had InitPostgres returning whether user is a superuser. Modified Files: -------------- pgsql/src/backend/tcop: postgres.c (r1.571 -> r1.572) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tcop/postgres.c?r1=1.571&r2=1.572) pgsql/src/backend/utils/init: postinit.c (r1.196 -> r1.197) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/init/postinit.c?r1=1.196&r2=1.197) pgsql/src/include: miscadmin.h (r1.213 -> r1.214) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/miscadmin.h?r1=1.213&r2=1.214) pgsql/src/include/tcop: tcopprot.h (r1.99 -> r1.100) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/tcop/tcopprot.h?r1=1.99&r2=1.100)