1. 05 Jan, 2000 8 commits
  2. 04 Jan, 2000 3 commits
    • Thomas G. Lockhart's avatar
      Clean up syntax to use SQL92-ish type coersion · 61ef6a1a
      Thomas G. Lockhart authored
       rather than the Postgres "::" notation.
      All of these tests have been completely inspected and give correct results.
      61ef6a1a
    • Thomas G. Lockhart's avatar
      Match results with format from new psql. · f54668d6
      Thomas G. Lockhart authored
      All of these tests have been completely inspected and give correct results.
      f54668d6
    • 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
  3. 02 Jan, 2000 3 commits
  4. 31 Dec, 1999 5 commits
  5. 30 Dec, 1999 4 commits
  6. 29 Dec, 1999 6 commits
  7. 28 Dec, 1999 1 commit
  8. 27 Dec, 1999 3 commits
    • Bruce Momjian's avatar
      Fix length limit, MikeA · e9bfedc9
      Bruce Momjian authored
      e9bfedc9
    • Bruce Momjian's avatar
      Hi, all, · 63549862
      Bruce Momjian authored
      This is the patch for the final bit.  Sorry that it's separate.
      
      Cheers...
      
      
      MikeA
      63549862
    • Bruce Momjian's avatar
      Hi, all · 24a0f021
      Bruce Momjian authored
      I finally got around to schlepping through pg_dump, to finish what I started
      about three months (or more) ago.  Attached is a gzipped diff file to apply
      in the bin/pg_dump directory.  This should remove all string length
      dependencies, except one, which I'm working on.  It has been through some
      rudimentary unit testing, but that's about it, so if any of you would give
      it a more strenuous run-through, I'd be grateful for the feedback.
      
      Cheers...
      
       Ansley, Michael
      24a0f021
  9. 26 Dec, 1999 2 commits
  10. 24 Dec, 1999 2 commits
    • Bruce Momjian's avatar
      Update developers faq. · ad322de0
      Bruce Momjian authored
      ad322de0
    • 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
  11. 23 Dec, 1999 1 commit
  12. 22 Dec, 1999 2 commits