*** pgsql/src/backend/utils/adt/timestamp.c 2009/01/01 17:23:50 1.196 --- pgsql/src/backend/utils/adt/timestamp.c 2009/03/15 20:31:19 1.197 *************** *** 8,14 **** * * * IDENTIFICATION ! * $PostgreSQL: pgsql/src/backend/utils/adt/timestamp.c,v 1.195 2008/11/11 02:42:32 tgl Exp $ * *------------------------------------------------------------------------- */ --- 8,14 ---- * * * IDENTIFICATION ! * $PostgreSQL: pgsql/src/backend/utils/adt/timestamp.c,v 1.196 2009/01/01 17:23:50 momjian Exp $ * *------------------------------------------------------------------------- */ *************** isoweek2j(int year, int week) *** 3668,3678 **** int day0, day4; - if (!year) - ereport(ERROR, - (errcode(ERRCODE_INVALID_PARAMETER_VALUE), - errmsg("cannot calculate week number without year information"))); - /* fourth day of current year */ day4 = date2j(year, 1, 4); --- 3668,3673 ----