Allow times of 24:00:00 to match rounding behavior:

Bruce Momjian <bruce@momjian.us>

Commit: a93bf4503ffc6d7cd6243a6324fb2ef206b10adf
Author: Bruce Momjian <bruce@momjian.us>
Date: 2005-10-14T11:47:57Z
Releases: 8.1.0
Allow times of 24:00:00 to match rounding behavior:

	regression=# select '23:59:59.9'::time(0);
	   time
	----------
	 24:00:00
	(1 row)

	This is bad because:

	regression=# select '24:00:00'::time(0);
	ERROR:  date/time field value out of range: "24:00:00"

The last example now works.

Files