mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Change type of DOW/DOY to UNITS
This commit is contained in:
		@@ -123,8 +123,8 @@ static datetkn datetktbl[] = {
 | 
				
			|||||||
	{"dec", MONTH, 12},
 | 
						{"dec", MONTH, 12},
 | 
				
			||||||
	{"december", MONTH, 12},
 | 
						{"december", MONTH, 12},
 | 
				
			||||||
	{"dnt", TZ, 3600},			/* Dansk Normal Tid */
 | 
						{"dnt", TZ, 3600},			/* Dansk Normal Tid */
 | 
				
			||||||
	{"dow", RESERV, DTK_DOW},	/* day of week */
 | 
						{"dow", UNITS, DTK_DOW},	/* day of week */
 | 
				
			||||||
	{"doy", RESERV, DTK_DOY},	/* day of year */
 | 
						{"doy", UNITS, DTK_DOY},	/* day of year */
 | 
				
			||||||
	{"dst", DTZMOD, SECS_PER_HOUR},
 | 
						{"dst", DTZMOD, SECS_PER_HOUR},
 | 
				
			||||||
#if 0
 | 
					#if 0
 | 
				
			||||||
	{"dusst", DTZ, 21600},		/* Dushanbe Summer Time */
 | 
						{"dusst", DTZ, 21600},		/* Dushanbe Summer Time */
 | 
				
			||||||
@@ -206,7 +206,7 @@ static datetkn datetktbl[] = {
 | 
				
			|||||||
	{"irkst", DTZ, 32400},		/* Irkutsk Summer Time */
 | 
						{"irkst", DTZ, 32400},		/* Irkutsk Summer Time */
 | 
				
			||||||
	{"irkt", TZ, 28800},		/* Irkutsk Time */
 | 
						{"irkt", TZ, 28800},		/* Irkutsk Time */
 | 
				
			||||||
	{"irt", TZ, 12600},			/* Iran 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
 | 
					#if 0
 | 
				
			||||||
	isst
 | 
						isst
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user