mirror of
https://github.com/postgres/postgres.git
synced 2026-06-02 05:49:16 -04:00
bdca82f44d
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.