1. 05 Dec, 2005 1 commit
  2. 26 Jun, 2005 1 commit
  3. 04 Oct, 2004 1 commit
    • Tom Lane's avatar
      Detect overflow in integer arithmetic operators (integer, smallint, and · 4171bb86
      Tom Lane authored
      bigint variants).  Clean up some inconsistencies in error message wording.
      Fix scanint8 to allow trailing whitespace in INT64_MIN case.  Update
      int8-exp-three-digits.out, which seems to have been ignored by the last
      couple of people to modify the int8 regression test, and remove
      int8-exp-three-digits-win32.out which is thereby exposed as redundant.
      4171bb86
  4. 11 Mar, 2004 1 commit
    • Neil Conway's avatar
      Revise int2/int4/int8/float4/float8 input routines to allow for · e2ded829
      Neil Conway authored
      any amount of leading or trailing whitespace (where "whitespace"
      is defined by isspace()). This is for SQL conformance, as well
      as consistency with other numeric types (e.g. oid, numeric).
      
      Also refactor pg_atoi() to avoid looking at errno where not
      necessary, and add a bunch of regression tests for the input
      to these types.
      e2ded829
  5. 27 Mar, 2003 1 commit
  6. 20 Sep, 2002 1 commit
  7. 26 Jan, 2001 1 commit
    • Tom Lane's avatar
      Change float8-to-int8 conversion to round to nearest, rather than · b78d1bed
      Tom Lane authored
      truncating to integer.  Remove regress test that checks whether
      4567890123456789 can be converted to float without loss; since that's
      52 bits, it's on the hairy edge of failing with IEEE float8s, and indeed
      rint seems to give platform-dependent results for it.
      b78d1bed
  8. 07 Apr, 2000 1 commit
  9. 08 Mar, 2000 1 commit
    • Bruce Momjian's avatar
      Hi, · eae5184d
      Bruce Momjian authored
       the to_char() source code is large, here are regression tests for
      numeric/timestamp/int8 part. It is probably enough test for formatting
      code in the formatting.c module. The others (float4/float8/int4) types
      share this formatting code and eventual bugs for these types aren't
      few probable.
      
       Patch fix timestamp_to_char() for infinity/invalid timestamp too.
      
      
                                                      Karel
      eae5184d
  10. 04 Jan, 2000 1 commit
  11. 08 Jul, 1998 1 commit