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

nodeSubplan.c

Blame
    • Tom Lane's avatar
      cfd7fb7e
      Fix permission-checking bug reported by Tim Burgess 10-Feb-03 (this time · cfd7fb7e
      Tom Lane authored
      for sure...).  Rather than relying on the query context of a rangetable
      entry to identify what permissions it wants checked, store a full AclMode
      mask in each RTE, and check exactly those bits.  This allows an RTE
      specifying, say, INSERT privilege on a view to be copied into a derived
      UPDATE query without changing meaning.  Per recent discussion thread.
      initdb forced due to change of stored rule representation.
      cfd7fb7e
      History
      Fix permission-checking bug reported by Tim Burgess 10-Feb-03 (this time
      Tom Lane authored
      for sure...).  Rather than relying on the query context of a rangetable
      entry to identify what permissions it wants checked, store a full AclMode
      mask in each RTE, and check exactly those bits.  This allows an RTE
      specifying, say, INSERT privilege on a view to be copied into a derived
      UPDATE query without changing meaning.  Per recent discussion thread.
      initdb forced due to change of stored rule representation.