aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Stark <stark@mit.edu>2015-09-07 13:35:09 +0100
committerGreg Stark <stark@mit.edu>2015-09-07 20:41:29 +0100
commit37239ef8c9fa72e0f73a307cc413a03a743878d3 (patch)
tree28da5753e56d759488e81d132f108eff448b627d
parente26692248ada18417199b47bc2e4e1648d530953 (diff)
downloadpostgresql-37239ef8c9fa72e0f73a307cc413a03a743878d3.tar.gz
postgresql-37239ef8c9fa72e0f73a307cc413a03a743878d3.zip
Change type of DOW/DOY to UNITS
-rw-r--r--src/interfaces/ecpg/pgtypeslib/dt_common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/pgtypeslib/dt_common.c b/src/interfaces/ecpg/pgtypeslib/dt_common.c
index 7fe29820cf0..01cdfa9b3e0 100644
--- a/src/interfaces/ecpg/pgtypeslib/dt_common.c
+++ b/src/interfaces/ecpg/pgtypeslib/dt_common.c
@@ -123,8 +123,8 @@ static datetkn datetktbl[] = {
{"dec", MONTH, 12},
{"december", MONTH, 12},
{"dnt", TZ, 3600}, /* Dansk Normal Tid */
- {"dow", RESERV, DTK_DOW}, /* day of week */
- {"doy", RESERV, DTK_DOY}, /* day of year */
+ {"dow", UNITS, DTK_DOW}, /* day of week */
+ {"doy", UNITS, DTK_DOY}, /* day of year */
{"dst", DTZMOD, SECS_PER_HOUR},
#if 0
{"dusst", DTZ, 21600}, /* Dushanbe Summer Time */
@@ -206,7 +206,7 @@ static datetkn datetktbl[] = {
{"irkst", DTZ, 32400}, /* Irkutsk Summer Time */
{"irkt", TZ, 28800}, /* Irkutsk Time */
{"irt", TZ, 12600}, /* Iran Time */
- {"isodow", RESERV, DTK_ISODOW}, /* ISO day of week, Sunday == 7 */
+ {"isodow", UNITS, DTK_ISODOW}, /* ISO day of week, Sunday == 7 */
#if 0
isst
#endif