postgresql/src
Tom Lane 7c26416ffd When checking for datetime field overflow, we should allow a fractional-second
part that rounds up to exactly 1.0 second.  The previous coding rejected input
like "00:12:57.9999999999999999999999999999", with the exact number of nines
needed to cause failure varying depending on float-timestamp option and
possibly on platform.  Obviously this should round up to the next integral
second, if we don't have enough precision to distinguish the value from that.
Per bug #4789 from Robert Kruus.

In passing, fix a missed check for fractional seconds in one copy of the
"is it greater than 24:00:00" code.

Broken all the way back, so patch all the way back.
2009-05-01 19:29:34 +00:00
..
backend When checking for datetime field overflow, we should allow a fractional-second 2009-05-01 19:29:34 +00:00
bin Don't crash initdb when we fail to get the current username. 2009-03-31 18:58:20 +00:00
corba make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
include tag 8.0.21 2009-03-13 02:30:37 +00:00
interfaces tag 8.0.21 2009-03-13 02:30:37 +00:00
makefiles Remove $(DESTDIR) from the pgxs BE_DLLLIBS= -L path for Darwin. 2006-01-19 21:20:32 +00:00
pl Fix overly tense optimization of PLpgSQL_func_hashkey: we must represent 2008-10-09 16:35:33 +00:00
port tag 8.0.21 2009-03-13 02:30:37 +00:00
template Support Sun's compiler on SunOS4 (a/k/a Solaris 9). Per ayan@ayan.net 2004-12-29 23:47:40 +00:00
test Fix the handling of sub-SELECTs appearing in the arguments of an outer-level 2009-04-25 16:45:25 +00:00
timezone Update time zone data files to tzdata release 2009e: DST law changes in 2009-04-09 20:51:11 +00:00
tools Create a script to handle stamping release version numbers into files, 2008-06-10 18:09:15 +00:00
tutorial Change \' to '', for SQL standards compliance. Backpatch to 7.3, 7.4, 2006-05-21 19:57:40 +00:00
utils PostgreSQL extension makefile framework ("pgxs"), by Fabien Coelho, with 2004-07-30 12:26:40 +00:00
bcc32.mak Add -N make flag to bcc builds from /src dir. 2005-05-13 18:13:16 +00:00
DEVELOPERS just testing a script... 1999-07-30 03:45:57 +00:00
Makefile Adjust src/tutorial Makefile so that it can use pgxs. This allows the 2005-01-13 18:23:22 +00:00
Makefile.global.in Have libpgport link before libpq so that PG client applications are more 2005-03-25 18:18:41 +00:00
Makefile.shlib Fix out-of-order inclusion of -L switches from LDFLAGS on AIX and HPUX. 2005-12-03 20:16:50 +00:00
nls-global.mk More locale fixes for pg_ctl. 2004-06-01 03:32:42 +00:00
win32.mak $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00