diff options
Diffstat (limited to 'src/include/utils/builtins.h')
-rw-r--r-- | src/include/utils/builtins.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index 0e28192a216..a9f1572a3e1 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: builtins.h,v 1.10 1997/03/09 20:41:02 momjian Exp $ + * $Id: builtins.h,v 1.11 1997/03/12 21:28:14 scrappy Exp $ * * NOTES * This should normally only be included by fmgr.h. @@ -403,6 +403,18 @@ extern float64 gistnpage(Oid operatorObjectId, Oid indrelid, AttrNumber attribut /* tid.c */ extern ItemPointer tidin(char *str); extern char *tidout(ItemPointer itemPtr); + +/* timestamp.c */ +extern int4 timestamp_in(char *timestamp_str); +extern char *timestamp_out(int4 timestamp); +extern int4 now(void); +int4 timestampeq(int4 t1, int4 t2); +int4 timestampne(int4 t1, int4 t2); +int4 timestamplt(int4 t1, int4 t2); +int4 timestampgt(int4 t1, int4 t2); +int4 timestample(int4 t1, int4 t2); +int4 timestampge(int4 t1, int4 t2); + /* varchar.c */ extern char *bpcharin(char *s, int dummy, int typlen); extern char *bpcharout(char *s); |