1. 24 Jan, 2010 3 commits
    • Joe Conway's avatar
      Rewrite dblink_record_internal() and dblink_fetch() to use a tuplestore · 56cbb611
      Joe Conway authored
      (SFRM_Materialize mode) to return tuples. Since we don't return from the
      dblink function in tuplestore mode, release the PGresult with a PG_CATCH
      block on error. Also rearrange to share the same code to materialize the
      tuplestore. Patch by Takahiro Itagaki.
      56cbb611
    • Tom Lane's avatar
      Fix assorted core dumps and Assert failures that could occur during · 875353b9
      Tom Lane authored
      AbortTransaction or AbortSubTransaction, when trying to clean up after an
      error that prevented (sub)transaction start from completing:
      * access to TopTransactionResourceOwner that might not exist
      * assert failure in AtEOXact_GUC, if AtStart_GUC not called yet
      * assert failure or core dump in AfterTriggerEndSubXact, if
        AfterTriggerBeginSubXact not called yet
      
      Per testing by injecting elog(ERROR) at successive steps in StartTransaction
      and StartSubTransaction.  It's not clear whether all of these cases could
      really occur in the field, but at least one of them is easily exposed by
      simple stress testing, as per my accidental discovery yesterday.
      875353b9
    • Magnus Hagander's avatar
      Add missing closing tag. · 74f4be6c
      Magnus Hagander authored
      74f4be6c
  2. 23 Jan, 2010 3 commits
  3. 22 Jan, 2010 8 commits
  4. 21 Jan, 2010 6 commits
  5. 20 Jan, 2010 15 commits
  6. 19 Jan, 2010 5 commits