• Bruce Momjian's avatar
    Allow times of 24:00:00 to match rounding behavior: · a93bf450
    Bruce Momjian authored
    	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.
    a93bf450
nabstime.c 36.6 KB