aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/datetime.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-04-17 13:50:57 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-04-17 13:50:57 +0000
commita1f229b19e95ceab78bbd06f7ef1bec92acbe8b4 (patch)
tree65444a4f632deef4e75b5f74d28c56854fa8841f /src/backend/utils/adt/datetime.c
parentcfe0d67dc11377abf1befd302c1fce63a006c52a (diff)
downloadpostgresql-a1f229b19e95ceab78bbd06f7ef1bec92acbe8b4.tar.gz
postgresql-a1f229b19e95ceab78bbd06f7ef1bec92acbe8b4.zip
From: "Martin J. Laubach" <mjl@CSlab.tuwien.ac.at>
Subject: [HACKERS] Patch: set date to euro/us postgres/iso/sql Here a patch that implements a SET date for use by the datetime stuff. The syntax is SET date TO 'val[,val,...]' where val is us (us dates), euro (european dates), postgres, iso or sql. Thomas is working on the integration in his datetime module. I just needed to get the patch out before it went stale :)
Diffstat (limited to 'src/backend/utils/adt/datetime.c')
-rw-r--r--src/backend/utils/adt/datetime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/utils/adt/datetime.c b/src/backend/utils/adt/datetime.c
index 2adedf88987..07113bd7cf2 100644
--- a/src/backend/utils/adt/datetime.c
+++ b/src/backend/utils/adt/datetime.c
@@ -7,12 +7,13 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.3 1997/04/04 08:55:29 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.4 1997/04/17 13:50:34 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#include <stdio.h> /* for sprintf() */
#include <string.h>
+#include <limits.h>
#include "postgres.h"
#ifdef HAVE_FLOAT_H