]> granicus.if.org Git - postgresql/commit
In the continuing saga of FE/BE protocol revisions, add reporting of
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 25 Apr 2003 19:45:10 +0000 (19:45 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 25 Apr 2003 19:45:10 +0000 (19:45 +0000)
commit9cbaf7217747d6b5c88ba9b500a37b8372f185c9
tree18569f5cba46f81d9097c9ea21c29f4a0e055936
parenta2190c9eb6afc65fddb80667d48024428368a9b6
In the continuing saga of FE/BE protocol revisions, add reporting of
initial values and runtime changes in selected parameters.  This gets
rid of the need for an initial 'select pg_client_encoding()' query in
libpq, bringing us back to one message transmitted in each direction
for a standard connection startup.  To allow server version to be sent
using the same GUC mechanism that handles other parameters, invent the
concept of a never-settable GUC parameter: you can 'show server_version'
but it's not settable by any GUC input source.  Create 'lc_collate' and
'lc_ctype' never-settable parameters so that people can find out these
settings without need for pg_controldata.  (These side ideas were all
discussed some time ago in pgsql-hackers, but not yet implemented.)
13 files changed:
doc/src/sgml/protocol.sgml
doc/src/sgml/ref/set.sgml
doc/src/sgml/ref/show.sgml
src/backend/access/transam/xlog.c
src/backend/commands/variable.c
src/backend/utils/init/postinit.c
src/backend/utils/misc/guc.c
src/include/commands/variable.h
src/include/libpq/pqcomm.h
src/include/utils/guc.h
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-exec.c
src/interfaces/libpq/libpq-int.h