1. 01 Dec, 2008 6 commits
  2. 30 Nov, 2008 4 commits
    • Tom Lane's avatar
      Fix dblink and tablefunc to not return with the wrong CurrentMemoryContext. · 76cc2fe6
      Tom Lane authored
      Per buildfarm results.
      76cc2fe6
    • Tom Lane's avatar
      Clean up the API for DestReceiver objects by eliminating the assumption · c1f30733
      Tom Lane authored
      that a Portal is a useful and sufficient additional argument for
      CreateDestReceiver --- it just isn't, in most cases.  Instead formalize
      the approach of passing any needed parameters to the receiver separately.
      
      One unexpected benefit of this change is that we can declare typedef Portal
      in a less surprising location.
      
      This patch is just code rearrangement and doesn't change any functionality.
      I'll tackle the HOLD-cursor-vs-toast problem in a follow-on patch.
      c1f30733
    • Tom Lane's avatar
      Add a "LIKE = typename" clause to CREATE TYPE for base types. This allows · 3f936aac
      Tom Lane authored
      the basic representational details (typlen, typalign, typbyval, typstorage)
      to be copied from an existing type rather than listed explicitly in the
      CREATE TYPE command.  The immediate reason for this is to provide a simple
      solution for add-on modules that want to define types represented as int8,
      float4, or float8: as of 8.4 the appropriate PASSEDBYVALUE setting is
      platform-specific and so it's hard for a SQL script to know what to do.
      
      This patch fixes the contrib/isn breakage reported by Rushabh Lathia.
      3f936aac
    • Tom Lane's avatar
      Remove inappropriate memory context switch in shutdown_MultiFuncCall(). · 0ddede58
      Tom Lane authored
      This was a thinko introduced in a patch from last February; it results
      in memory leakage if an SRF is shut down before the actual end of query,
      because subsequent code will be running in a longer-lived context than
      it's expecting to be.
      0ddede58
  3. 29 Nov, 2008 2 commits
  4. 28 Nov, 2008 6 commits
  5. 27 Nov, 2008 9 commits
  6. 26 Nov, 2008 12 commits
  7. 25 Nov, 2008 1 commit