From ea567d2fad625aaa5163beb543ab5a1084103dab Mon Sep 17 00:00:00 2001 From: "Thomas G. Lockhart" Date: Fri, 7 Nov 1997 06:45:16 +0000 Subject: [PATCH] Declare routines which support SET keyword = value SQL commands. --- src/include/tcop/variable.h | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/src/include/tcop/variable.h b/src/include/tcop/variable.h index 4792cac965..dbe1b5babd 100644 --- a/src/include/tcop/variable.h +++ b/src/include/tcop/variable.h @@ -2,9 +2,11 @@ * Headers for handling of 'SET var TO', 'SHOW var' and 'RESET var' * statements * - * $Id: variable.h,v 1.6 1997/09/08 02:39:21 momjian Exp $ + * $Id: variable.h,v 1.7 1997/11/07 06:45:16 thomas Exp $ * */ +#ifndef VARIABLE_H +#define VARIABLE_H 1 enum DateFormat { @@ -27,3 +29,30 @@ extern struct PGVariables PGVariables; bool SetPGVariable(const char *, const char *); bool GetPGVariable(const char *); bool ResetPGVariable(const char *); + +extern bool set_date(void); +extern bool show_date(void); +extern bool reset_date(void); +extern bool parse_date(const char *); +extern bool set_timezone(void); +extern bool show_timezone(void); +extern bool reset_timezone(void); +extern bool parse_timezone(const char *); +extern bool set_cost_heap(void); +extern bool show_cost_heap(void); +extern bool reset_cost_heap(void); +extern bool parse_cost_heap(const char *); +extern bool set_cost_index(void); +extern bool show_cost_index(void); +extern bool reset_cost_index(void); +extern bool parse_cost_index(const char *); +extern bool set_r_plans(void); +extern bool show_r_plans(void); +extern bool reset_r_plans(void); +extern bool parse_r_plans(const char *); +extern bool set_geqo(void); +extern bool show_geqo(void); +extern bool reset_geqo(void); +extern bool parse_geqo(const char *); + +#endif /* VARIABLE_H */ -- 2.40.0