From 3e803f72732f591a7913f5be212012ea1193705c Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 19 Feb 2007 17:41:39 +0000 Subject: Add "isodow" option to EXTRACT() and date_part() where Sunday = 7. --- src/include/utils/datetime.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include/utils/datetime.h') diff --git a/src/include/utils/datetime.h b/src/include/utils/datetime.h index fc7b16fdb47..df6cf5e4f30 100644 --- a/src/include/utils/datetime.h +++ b/src/include/utils/datetime.h @@ -9,7 +9,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/utils/datetime.h,v 1.64 2007/02/16 03:39:45 momjian Exp $ + * $PostgreSQL: pgsql/src/include/utils/datetime.h,v 1.65 2007/02/19 17:41:39 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -166,6 +166,7 @@ #define DTK_TZ_HOUR 34 #define DTK_TZ_MINUTE 35 #define DTK_ISOYEAR 36 +#define DTK_ISODOW 37 /* -- cgit v1.2.3