summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane2005-03-25 16:17:28 +0000
committerTom Lane2005-03-25 16:17:28 +0000
commit519cef22bf9c533f68ae50a8fe0b7f2349ed6a75 (patch)
treec9ae4dfde70d4fdb8ce6c5ae1b2b110b754d3606 /src/include
parent6e26c002976eed5d5cb6a2b4ab61bbc74ab9bfb7 (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 33366078c82..ed2748e8b23 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.59 2005/03/19 23:27:11 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/utils/guc.h,v 1.60 2005/03/25 16:17:28 tgl Exp $
*--------------------------------------------------------------------
*/
#ifndef GUC_H
@@ -151,6 +151,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);
@@ -160,6 +162,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);