From cbdda3e2a9444bb44041dda8a8dc3513be866b1d Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 9 Jul 2003 17:57:47 +0000 Subject: [PATCH] Add description for new GUC context. Aizaz Ahmed --- src/backend/utils/misc/help_config.c | 3 ++- src/include/utils/guc.h | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/backend/utils/misc/help_config.c b/src/backend/utils/misc/help_config.c index 0ea1fbd99d..17c3b2488d 100644 --- a/src/backend/utils/misc/help_config.c +++ b/src/backend/utils/misc/help_config.c @@ -25,7 +25,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/misc/help_config.c,v 1.1 2003/07/04 16:41:21 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/misc/help_config.c,v 1.2 2003/07/09 17:57:47 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -143,6 +143,7 @@ static const char *const GucContext_names[] = { "SIGHUP", "BACKEND", "SUSET", + "USERLIMIT", "USERSET" }; diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h index 29669fc7c4..665cc0ed42 100644 --- a/src/include/utils/guc.h +++ b/src/include/utils/guc.h @@ -7,7 +7,7 @@ * Copyright 2000-2003 by PostgreSQL Global Development Group * Written by Peter Eisentraut . * - * $Id: guc.h,v 1.33 2003/07/09 06:47:34 momjian Exp $ + * $Id: guc.h,v 1.34 2003/07/09 17:57:47 momjian Exp $ *-------------------------------------------------------------------- */ #ifndef GUC_H @@ -52,6 +52,9 @@ * non-super users. * * USERSET options can be set by anyone any time. + * + * When updating the GucContexts, please make sure to update the + * corresponding GucContext_names [] entries in pg_guc.c. */ typedef enum { -- 2.11.0