diff options
author | Thomas G. Lockhart <lockhart@fourpalms.org> | 2001-10-18 17:30:21 +0000 |
---|---|---|
committer | Thomas G. Lockhart <lockhart@fourpalms.org> | 2001-10-18 17:30:21 +0000 |
commit | 9310075a13c28fc77224094d2cf3cc1c03446b4a (patch) | |
tree | 64e430f8525c5782e26d3ddede403829836909c6 /src/include/commands/variable.h | |
parent | 6254465d0621f724cdc9a1e99da24fa8a29f579d (diff) | |
download | postgresql-9310075a13c28fc77224094d2cf3cc1c03446b4a.tar.gz postgresql-9310075a13c28fc77224094d2cf3cc1c03446b4a.zip |
Accept an INTERVAL argument for SET TIME ZONE per SQL99.
Modified the parser and the SET handlers to use full Node structures
rather than simply a character string argument.
Implement INTERVAL() YEAR TO MONTH (etc) syntax per SQL99.
Does not yet accept the goofy string format that goes along with, but
this should be fairly straight forward to fix now as a bug or later
as a feature.
Implement precision for the INTERVAL() type.
Use the typmod mechanism for both of INTERVAL features.
Fix the INTERVAL syntax in the parser:
opt_interval was in the wrong place.
INTERVAL is now a reserved word, otherwise we get reduce/reduce errors.
Implement an explicit date_part() function for TIMETZ.
Should fix coersion problem with INTERVAL reported by Peter E.
Fix up some error messages for date/time types.
Use all caps for type names within message.
Fix recently introduced side-effect bug disabling 'epoch' as a recognized
field for date_part() etc. Reported by Peter E. (??)
Bump catalog version number.
Rename "microseconds" current transaction time field
from ...Msec to ...Usec. Duh!
date/time regression tests updated for reference platform, but a few
changes will be necessary for others.
Diffstat (limited to 'src/include/commands/variable.h')
-rw-r--r-- | src/include/commands/variable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/commands/variable.h b/src/include/commands/variable.h index c1e9541e5a8..75e88b806bc 100644 --- a/src/include/commands/variable.h +++ b/src/include/commands/variable.h @@ -2,13 +2,13 @@ * Headers for handling of 'SET var TO', 'SHOW var' and 'RESET var' * statements * - * $Id: variable.h,v 1.13 2000/10/26 17:31:33 tgl Exp $ + * $Id: variable.h,v 1.14 2001/10/18 17:30:16 thomas Exp $ * */ #ifndef VARIABLE_H #define VARIABLE_H -extern void SetPGVariable(const char *name, const char *value); +extern void SetPGVariable(const char *name, List *args); extern void GetPGVariable(const char *name); extern void ResetPGVariable(const char *name); |