1. 20 Jul, 2005 2 commits
    • 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
    • Bruce Momjian's avatar
      Fix interval division and multiplication, before: · 826604f9
      Bruce Momjian authored
      	test=> select '4 months'::interval / 5;
      	   ?column?
      	---------------
      	 1 mon -6 days
      	(1 row)
      
      after:
      
      	test=> select '4 months'::interval / 5;
      	 ?column?
      	----------
      	 24 days
      	(1 row)
      
      The problem was the use of rint() to round, and then find the remainder,
      causing the negative values.
      826604f9
  2. 19 Jul, 2005 1 commit
  3. 18 Jul, 2005 12 commits
  4. 17 Jul, 2005 1 commit
  5. 15 Jul, 2005 4 commits
  6. 14 Jul, 2005 10 commits
  7. 13 Jul, 2005 9 commits
  8. 12 Jul, 2005 1 commit