Skip to content
Snippets Groups Projects
  1. Jan 10, 2000
  2. Jan 09, 2000
  3. Jan 07, 2000
  4. Jan 06, 2000
  5. Jan 05, 2000
  6. Jan 04, 2000
    • Thomas G. Lockhart's avatar
      Repair two recently reported problems: · 3ec826f9
      Thomas G. Lockhart authored
      1) datetime_pl_span() added the seconds field before adding the months
       field.  This lead to erroneous results for e.g.
         select datetime '1999-11-30' + timespan '1 mon - 1 sec';
       Reverse the order of operations to add months first.
      2) tm2timespan() did all intermediate math as integer, converting to double
       at the very end. This resulted in hidden overflows when given very large
       integer days, hours, etc. For example,
         select '74565 days'::timespan;
       produced the wrong result. Change code to ensure that doubles are used
       for intermediate calculations.
      Thanks to Olivier PRENANT <ohp@pyrenet.fr> and
       Tulassay Zsolt <zsolt@tek.bke.hu> for problem reports and to Tom Lane for
       accurate analyses.
      3ec826f9
  7. Jan 02, 2000
  8. Dec 31, 1999
  9. Dec 30, 1999
  10. Dec 28, 1999
  11. Dec 24, 1999
    • Tom Lane's avatar
      Clean up handling of explicit NULL constants. Cases like · 350cb386
      Tom Lane authored
      	SELECT null::text;
      	SELECT int4fac(null);
      work as expected now.  In some cases a NULL must be surrounded by
      parentheses:
      	SELECT 2 + null;                 fails
      	SELECT 2 + (null);               OK
      This is a grammatical ambiguity that seems difficult to avoid.  Other
      than that, NULLs seem to behave about like you'd expect.  The internal
      implementation is that NULL constants are typed as UNKNOWN (like
      untyped string constants) until the parser can deduce the right type.
      350cb386
  12. Dec 22, 1999
    • Hiroshi Inoue's avatar
      · a3e2bc73
      Hiroshi Inoue authored
      to live in a transaction before access to db
      during backend startup.
      a3e2bc73
  13. Dec 21, 1999
  14. Dec 20, 1999
  15. Dec 16, 1999
  16. Dec 13, 1999
  17. Dec 10, 1999
  18. Dec 09, 1999
    • Bruce Momjian's avatar
      3ffd3d82
    • Bruce Momjian's avatar
      Update for QNX from Kardos, Dr. Andrea · cb0032cd
      Bruce Momjian authored
      cb0032cd
    • Bruce Momjian's avatar
      Hi, · d65a27f9
      Bruce Momjian authored
      I was able to crash postgres 6.5.3 when I did an 'alter user' command.
      After I started a debugger I found the problem in the timezone handling
      of
      datetime (my Linux box lost its timezone information, that's how the
      problem occurred).
      
      Only 7 bytes are reserved for the timezone, without checking for
      boundaries.
      
      Attached is a patch that fixes this problem and emits a NOTICE if a
      timezone is encountered that is longer than MAXTZLEN bytes, like this:
      
      Jeroen van Vianen
      d65a27f9
  19. Dec 08, 1999
  20. Dec 07, 1999
  21. Dec 06, 1999
  22. Nov 25, 1999
Loading