1. 12 Sep, 1998 1 commit
    • Bruce Momjian's avatar
      The pg_atoi() function uses strtol() to convert the string to numbers. Some · 786b1802
      Bruce Momjian authored
      implementations of strtol() treat empty strings ("") as invalid arguments
      while others convert this (erroneously, IHMO) to zero (0).  Assuming that the
      expected behaviour of pg_atoi() is to return 0 if it is passed an empty
      string, I am supplying the following patch to explictly check for an empty
      string in pg_atoi() and return 0 if the string is empty.  The patch will also
      trap a NULL character pointer being passed to pg_atoi() and will use elog() to
      print out an error message if the input char pointer is NULL.
      
      
      Billy G. Allie
      786b1802
  2. 01 Sep, 1998 2 commits
  3. 15 Jun, 1998 1 commit
  4. 26 Feb, 1998 1 commit
  5. 11 Feb, 1998 1 commit
  6. 05 Jan, 1998 2 commits
  7. 20 Dec, 1997 1 commit
  8. 19 Dec, 1997 1 commit
  9. 17 Nov, 1997 1 commit
  10. 18 Sep, 1997 1 commit
  11. 08 Sep, 1997 1 commit
  12. 07 Sep, 1997 1 commit
  13. 19 Aug, 1997 1 commit
  14. 12 Aug, 1997 2 commits
  15. 22 Apr, 1997 1 commit
  16. 13 Apr, 1997 1 commit
  17. 28 Dec, 1996 1 commit
  18. 27 Nov, 1996 1 commit
  19. 06 Nov, 1996 2 commits
  20. 31 Oct, 1996 1 commit
  21. 22 Jul, 1996 1 commit
  22. 16 Jul, 1996 1 commit
  23. 09 Jul, 1996 1 commit