Move processing of startup-packet switches and GUC settings into InitPostgres,
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Sep 2009 00:09:42 +0000 (00:09 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Sep 2009 00:09:42 +0000 (00:09 +0000)
commit0905e8aeebd141a311ddee9957f75b698e872370
tree457c33ed6ab869c3af415e697dae5a4bfb8a64ba
parent00e6a16d01683762c2f34eb4909fc739093ab3bf
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.
src/backend/tcop/postgres.c
src/backend/utils/init/postinit.c
src/include/miscadmin.h
src/include/tcop/tcopprot.h