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

postgres-lambda-diff

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Stephen Frost authored
    Rather than expect the Query returned by get_view_query() to be
    read-only and then copy bits and pieces of it out, simply copy the
    entire structure when we get it.  This addresses an issue where
    AcquireRewriteLocks, which is called by acquireLocksOnSubLinks(),
    scribbles on the parsetree passed in, which was actually an entry
    in relcache, leading to segfaults with certain view definitions.
    This also future-proofs us a bit for anyone adding more code to this
    path.
    
    The acquireLocksOnSubLinks() was added in commit c3e0ddd4.
    
    Back-patch to 9.3 as that commit was.
    6f8cb1e2
    History
    Name Last commit Last update