Skip to content

Commit cbdda3e

Browse files
committed
Add description for new GUC context.
Aizaz Ahmed
1 parent 18936ef commit cbdda3e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/backend/utils/misc/help_config.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
2626
*
2727
* IDENTIFICATION
28-
* $Header: /cvsroot/pgsql/src/backend/utils/misc/help_config.c,v 1.1 2003/07/04 16:41:21 tgl Exp $
28+
* $Header: /cvsroot/pgsql/src/backend/utils/misc/help_config.c,v 1.2 2003/07/09 17:57:47 momjian Exp $
2929
*
3030
*-------------------------------------------------------------------------
3131
*/
@@ -143,6 +143,7 @@ static const char *const GucContext_names[] = {
143143
"SIGHUP",
144144
"BACKEND",
145145
"SUSET",
146+
"USERLIMIT",
146147
"USERSET"
147148
};
148149

src/include/utils/guc.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Copyright 2000-2003 by PostgreSQL Global Development Group
88
* Written by Peter Eisentraut <peter_e@gmx.net>.
99
*
10-
* $Id: guc.h,v 1.33 2003/07/09 06:47:34 momjian Exp $
10+
* $Id: guc.h,v 1.34 2003/07/09 17:57:47 momjian Exp $
1111
*--------------------------------------------------------------------
1212
*/
1313
#ifndef GUC_H
@@ -52,6 +52,9 @@
5252
* non-super users.
5353
*
5454
* USERSET options can be set by anyone any time.
55+
*
56+
* When updating the GucContexts, please make sure to update the
57+
* corresponding GucContext_names [] entries in pg_guc.c.
5558
*/
5659
typedef enum
5760
{

0 commit comments

Comments
 (0)