1. 21 Nov, 2004 3 commits
    • Tom Lane's avatar
      While fixing plperl and pltcl, I realized plpgsql wasn't doing · 183e8b91
      Tom Lane authored
      subtransactions quite right either: the ReleaseCurrentSubTransaction
      call should occur inside the PG_TRY, so that the proper path is taken
      if an error occurs during subtransaction commit.  This assumes that
      AbortSubTransaction can cope with the state left behind if
      CommitSubTransaction fails partway through, but we were already
      requiring that.
      183e8b91
    • Tom Lane's avatar
      Suppress remaining compile warnings, and add a comment about why · 32c97fd5
      Tom Lane authored
      it's not really broken.  Andrew Dunstan
      32c97fd5
    • Tom Lane's avatar
      Fix plperl and pltcl error handling per my previous proposal. SPI · 35f49941
      Tom Lane authored
      operations are now run as subtransactions, so that errors in them
      can be reported as ordinary Perl or Tcl errors and caught by the
      normal error handling convention of those languages.  Also do some
      minor code cleanup in pltcl.c: extract a large chunk of duplicated
      code in pltcl_SPI_execute and pltcl_SPI_execute_plan into a shared
      subroutine.
      35f49941
  2. 20 Nov, 2004 13 commits
  3. 19 Nov, 2004 4 commits
  4. 18 Nov, 2004 4 commits
  5. 17 Nov, 2004 16 commits