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

readfuncs.c

  • Tom Lane's avatar
    bdca82f4
    Add a relkind field to RangeTblEntry to avoid some syscache lookups. · bdca82f4
    Tom Lane authored
    The recent additions for FDW support required checking foreign-table-ness
    in several places in the parse/plan chain.  While it's not clear whether
    that would really result in a noticeable slowdown, it seems best to avoid
    any performance risk by keeping a copy of the relation's relkind in
    RangeTblEntry.  That might have some other uses later, anyway.
    Per discussion.
    bdca82f4
    History
    Add a relkind field to RangeTblEntry to avoid some syscache lookups.
    Tom Lane authored
    The recent additions for FDW support required checking foreign-table-ness
    in several places in the parse/plan chain.  While it's not clear whether
    that would really result in a noticeable slowdown, it seems best to avoid
    any performance risk by keeping a copy of the relation's relkind in
    RangeTblEntry.  That might have some other uses later, anyway.
    Per discussion.