• Bruce Momjian's avatar
    Add 'day' field to INTERVAL so 1 day interval can be distinguished from · db05f4a7
    Bruce Momjian authored
    24 hours. This is very helpful for daylight savings time:
    
    	select '2005-05-03 00:00:00 EST'::timestamp with time zone + '24 hours';
    	      ?column?
    	----------------------
    	2005-05-04 01:00:00-04
    
    	select '2005-05-03 00:00:00 EST'::timestamp with time zone + '1 day';
    	      ?column?
    	----------------------
    	2005-05-04 01:00:00-04
    
    Michael Glaesemann
    db05f4a7
selfuncs.c 123 KB