8000 Change type of DOW/DOY to UNITS · postgrespro/postgres_cluster@37239ef · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 37239ef

Browse files
committed
Change type of DOW/DOY to UNITS
1 parent e266922 commit 37239ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/interfaces/ecpg/pgtypeslib/dt_common.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ static datetkn datetktbl[] = {
123123
{"dec", MONTH, 12},
124124
{"december", MONTH, 12},
125125
{"dnt", TZ, 3600}, /* Dansk Normal Tid */
126-
{"dow", RESERV, DTK_DOW}, /* day of week */
127-
{"doy", RESERV, DTK_DOY}, /* day of year */
126+
{"dow", UNITS, DTK_DOW}, /* day of week */
127+
{"doy", UNITS, DTK_DOY}, /* day of year */
128128
{"dst", DTZMOD, SECS_PER_HOUR},
129129
#if 0
130130
{"dusst", DTZ, 21600}, /* Dushanbe Summer Time */
@@ -206,7 +206,7 @@ static datetkn datetktbl[] = {
206206
{"irkst", DTZ, 32400}, /* Irkutsk Summer Time */
207207
{"irkt", TZ, 28800}, /* Irkutsk Time */
208208
{"irt", TZ, 12600}, /* Iran Time */
209-
{"isodow", RESERV, DTK_ISODOW}, /* ISO day of week, Sunday == 7 */
209+
{"isodow", UNITS, DTK_ISODOW}, /* ISO day of week, Sunday == 7 */
210210
#if 0
211211
isst
212212
#endif

0 commit comments

Comments
 (0)
0