diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-04-25 19:45:10 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-04-25 19:45:10 +0000 |
commit | 9cbaf7217747d6b5c88ba9b500a37b8372f185c9 (patch) | |
tree | 18569f5cba46f81d9097c9ea21c29f4a0e055936 /src/include/commands/variable.h | |
parent | a2190c9eb6afc65fddb80667d48024428368a9b6 (diff) | |
download | postgresql-9cbaf7217747d6b5c88ba9b500a37b8372f185c9.tar.gz postgresql-9cbaf7217747d6b5c88ba9b500a37b8372f185c9.zip |
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.)
Diffstat (limited to 'src/include/commands/variable.h')
-rw-r--r-- | src/include/commands/variable.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/include/commands/variable.h b/src/include/commands/variable.h index 73687178fe8..68a0ebf7450 100644 --- a/src/include/commands/variable.h +++ b/src/include/commands/variable.h @@ -2,7 +2,7 @@ * variable.h * Routines for handling specialized SET variables. * - * $Id: variable.h,v 1.19 2002/09/04 20:31:42 momjian Exp $ + * $Id: variable.h,v 1.20 2003/04/25 19:45:09 tgl Exp $ * */ #ifndef VARIABLE_H @@ -22,9 +22,6 @@ extern bool assign_random_seed(double value, extern const char *show_random_seed(void); extern const char *assign_client_encoding(const char *value, bool doit, bool interactive); -extern const char *assign_server_encoding(const char *value, - bool doit, bool interactive); -extern const char *show_server_encoding(void); extern const char *assign_session_authorization(const char *value, bool doit, bool interactive); extern const char *show_session_authorization(void); |