mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
From: Dan McGuirk <mcguirk@indirect.com>
Subject: [HACKERS] timestamp type OK, last one. This patch adds an ANSI SQL 'timestamp' type.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user