materialized.
New items have been added to GucContext and GucSource enums, but of
course they were not added to the corresponding GucContextName[] and
GucSourceName[] arrays in the patch. Here's a new patch to fix the
resulting bugs.
Joe Conway
/*
- * Used for pg_settings. Keep in sync with config_type enum above
+ * Used for pg_settings. Keep in sync with config_type enum in guc_tables.h
*/
static char *config_type_name[] =
{
"sighup",
"backend",
"super-user",
+ "userlimit",
"user"
};
"environment variable",
"configuration file",
"command line",
+ "userstart",
"database",
"user",
"client",
* non-super users.
*
* USERSET options can be set by anyone any time.
+ *
+ * Keep in sync with GucContextName in guc.c
*/
typedef enum
{
/*
* GUC supports these types of variables:
+ *
+ * Keep in sync with config_type_name in guc.c
*/
enum config_type
{