Pull in tableoid for inheiritance with rowMarks As noted by Etsuro Fujita [1] and Dean Rasheed[2], cb1ca4d800621dcae67ca6c799006de99fa4f0a5 changed ExecBuildAuxRowMark() to always look for the tableoid in the target list, but didn't also change preprocess_targetlist() to always include the tableoid. This resulted in errors with soon-to-be-added RLS with inheritance tests, and errors when using inheritance with foreign tables.
Authors: Etsuro Fujita and Dean Rasheed (independently) Minor word-smithing on the comments by me. [1] 552cf0b6.8010...@lab.ntt.co.jp [2] caezatcvmfufuowwhnbtcgi6aquyjq0-1fykd0t3xbwjvn+x...@mail.gmail.com Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/4ccc5bd28e7f0c0d1b221683398ae178515b9f76 Modified Files -------------- contrib/postgres_fdw/expected/postgres_fdw.out | 52 ++++++++++++------------ src/backend/optimizer/prep/preptlist.c | 34 ++++++++-------- 2 files changed, 43 insertions(+), 43 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers