1. 18 May, 2008 2 commits
  2. 17 May, 2008 13 commits
  3. 16 May, 2008 15 commits
  4. 15 May, 2008 3 commits
  5. 14 May, 2008 6 commits
  6. 13 May, 2008 1 commit
    • Tom Lane's avatar
      Improve plpgsql's RAISE command. It is now possible to attach DETAIL and · 4107478d
      Tom Lane authored
      HINT fields to a user-thrown error message, and to specify the SQLSTATE
      error code to use.  The syntax has also been tweaked so that the
      Oracle-compatible case "RAISE exception_name" works (though you won't get a
      very nice error message if you just write that much).  Lastly, support
      the Oracle-compatible syntax "RAISE" with no parameters to re-throw
      the current error from within an EXCEPTION block.
      
      In passing, allow the syntax SQLSTATE 'nnnnn' within EXCEPTION lists,
      so that there is a way to trap errors with custom SQLSTATE codes.
      
      Pavel Stehule and Tom Lane
      4107478d