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
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.141 2003/07/28 00:09:16 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.142 2003/07/28 16:22:02 momjian Exp $
*
*--------------------------------------------------------------------
*/
/*
- * 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",
* Copyright 2000-2003 by PostgreSQL Global Development Group
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
- * $Id: guc.h,v 1.36 2003/07/27 04:35:54 momjian Exp $
+ * $Id: guc.h,v 1.37 2003/07/28 16:22:13 momjian Exp $
*--------------------------------------------------------------------
*/
#ifndef GUC_H
* non-super users.
*
* USERSET options can be set by anyone any time.
+ *
+ * Keep in sync with GucContextName in guc.c
*/
typedef enum
{
*
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
*
- * $Id: guc_tables.h,v 1.2 2003/07/27 04:35:54 momjian Exp $
+ * $Id: guc_tables.h,v 1.3 2003/07/28 16:22:16 momjian Exp $
*
*-------------------------------------------------------------------------
*/
/*
* GUC supports these types of variables:
+ *
+ * Keep in sync with config_type_name in guc.c
*/
enum config_type
{