-
- Downloads
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.)
Showing
- doc/src/sgml/protocol.sgml 12 additions, 5 deletionsdoc/src/sgml/protocol.sgml
- doc/src/sgml/ref/set.sgml 11 additions, 19 deletionsdoc/src/sgml/ref/set.sgml
- doc/src/sgml/ref/show.sgml 66 additions, 7 deletionsdoc/src/sgml/ref/show.sgml
- src/backend/access/transam/xlog.c 8 additions, 1 deletionsrc/backend/access/transam/xlog.c
- src/backend/commands/variable.c 1 addition, 17 deletionssrc/backend/commands/variable.c
- src/backend/utils/init/postinit.c 10 additions, 1 deletionsrc/backend/utils/init/postinit.c
- src/backend/utils/misc/guc.c 192 additions, 77 deletionssrc/backend/utils/misc/guc.c
- src/include/commands/variable.h 1 addition, 4 deletionssrc/include/commands/variable.h
- src/include/libpq/pqcomm.h 2 additions, 2 deletionssrc/include/libpq/pqcomm.h
- src/include/utils/guc.h 47 additions, 50 deletionssrc/include/utils/guc.h
- src/interfaces/libpq/fe-connect.c 8 additions, 281 deletionssrc/interfaces/libpq/fe-connect.c
- src/interfaces/libpq/fe-exec.c 52 additions, 1 deletionsrc/interfaces/libpq/fe-exec.c
- src/interfaces/libpq/libpq-int.h 2 additions, 13 deletionssrc/interfaces/libpq/libpq-int.h
Loading
Please register or sign in to comment