diff options
author | Bruce Momjian <bruce@momjian.us> | 2007-02-19 17:41:39 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2007-02-19 17:41:39 +0000 |
commit | 3e803f72732f591a7913f5be212012ea1193705c (patch) | |
tree | 5b8447ef3148a5397b18ae10cfe741d389db56d6 /src/include/utils/datetime.h | |
parent | 27d6ee04b817247bc5e07ee1bde857e60139a658 (diff) |
Add "isodow" option to EXTRACT() and date_part() where Sunday = 7.
Diffstat (limited to 'src/include/utils/datetime.h')
-rw-r--r-- | src/include/utils/datetime.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 /* |