Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

nodeModifyTable.c

Blame
    • Tom Lane's avatar
      3573c834
      Reset the per-output-tuple exprcontext each time through the main loop in · 3573c834
      Tom Lane authored
      ExecModifyTable().  This avoids memory leakage when trigger functions leave
      junk behind in that context (as they more or less must).  Problem and solution
      identified by Dean Rasheed.
      
      I'm a bit concerned about the longevity of this solution --- once a plan can
      have multiple ModifyTable nodes, we are very possibly going to have to do
      something different.  But it should hold up for 9.0.
      3573c834
      History
      Reset the per-output-tuple exprcontext each time through the main loop in
      Tom Lane authored
      ExecModifyTable().  This avoids memory leakage when trigger functions leave
      junk behind in that context (as they more or less must).  Problem and solution
      identified by Dean Rasheed.
      
      I'm a bit concerned about the longevity of this solution --- once a plan can
      have multiple ModifyTable nodes, we are very possibly going to have to do
      something different.  But it should hold up for 9.0.
    nodeModifyTable.c 29.45 KiB