summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-03-25 16:17:39 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-03-25 16:17:39 +0000
commitf87592fce7ebf14dff9be24141f360f2129f9292 (patch)
tree350e6f47ce8da343fadbdd2cce9fc6b49b9f724d /src/include
parent88f07b183f1dac4eb456af7f995d64febaf3c1d7 (diff)
Add missing min/max parameters to DefineCustomIntVariable() and
DefineCustomRealVariable(). Thomas Hallgren
Diffstat (limited to 'src/include')
-rw-r--r--src/include/utils/guc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h
index c3473e2fc31..458cc49172a 100644
--- a/src/include/utils/guc.h
+++ b/src/include/utils/guc.h
@@ -7,7 +7,7 @@
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
- * $PostgreSQL: pgsql/src/include/utils/guc.h,v 1.58 2005/01/01 05:43:09 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/utils/guc.h,v 1.58.4.1 2005/03/25 16:17:39 tgl Exp $
*--------------------------------------------------------------------
*/
#ifndef GUC_H
@@ -149,6 +149,8 @@ extern void DefineCustomIntVariable(
const char *short_desc,
const char *long_desc,
int *valueAddr,
+ int minValue,
+ int maxValue,
GucContext context,
GucIntAssignHook assign_hook,
GucShowHook show_hook);
@@ -158,6 +160,8 @@ extern void DefineCustomRealVariable(
const char *short_desc,
const char *long_desc,
double *valueAddr,
+ double minValue,
+ double maxValue,
GucContext context,
GucRealAssignHook assign_hook,
GucShowHook show_hook);