From: | Stephen Frost <sfrost(at)snowman(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Pull in tableoid for inheiritance with rowMarks |
Date: | 2015-04-22 15:29:43 |
Message-ID: | E1Ykwat-0002NH-B2@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(dot)8010006(at)lab(dot)ntt(dot)co(dot)jp
[2] CAEZATCVmFUfUOwwhnBTcgi6AquyjQ0-1fyKd0T3xBWJvn+xsFA(at)mail(dot)gmail(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2015-04-22 16:01:13 | pgsql: RLS fixes, new hooks, and new test module |
Previous Message | Heikki Linnakangas | 2015-04-22 11:37:55 | pgsql: Make the pg_rewind regression tests more robust on slow systems. |