|
8 | 8 | * |
9 | 9 | * |
10 | 10 | * IDENTIFICATION |
11 | | - * $PostgreSQL: pgsql/src/backend/utils/adt/datetime.c,v 1.201 2009/03/17 18:35:26 momjian Exp $ |
| 11 | + * $PostgreSQL: pgsql/src/backend/utils/adt/datetime.c,v 1.202 2009/03/17 18:39:39 momjian Exp $ |
12 | 12 | * |
13 | 13 | *------------------------------------------------------------------------- |
14 | 14 | */ |
@@ -2264,7 +2264,7 @@ ValidateDate(int fmask, bool is2digits, bool bc, struct pg_tm * tm) |
2264 | 2264 | } |
2265 | 2265 | elseif (is2digits) |
2266 | 2266 | { |
2267 | | -/*allow2-digit inputfor 1970-2069 AD;'0'or '00' is allowed */ |
| 2267 | +/*process 1 or2-digit inputas 1970-2069 AD, allow'0'and '00' */ |
2268 | 2268 | if (tm->tm_year<0)/* just paranoia */ |
2269 | 2269 | returnDTERR_FIELD_OVERFLOW; |
2270 | 2270 | if (tm->tm_year<70) |
|