diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-12-12 12:41:52 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-12-12 12:41:52 -0500 |
commit | 1a1fb46da4ca6ac0385bdd43a33e15b64370dfdd (patch) | |
tree | 55cb065c8d7edcfeb37a4066658967ae9dcda28b /contrib/btree_gist/btree_float8.c | |
parent | f2e20542dac2e25bc37440e66fd2769c29f2836b (diff) | |
download | postgresql-1a1fb46da4ca6ac0385bdd43a33e15b64370dfdd.tar.gz postgresql-1a1fb46da4ca6ac0385bdd43a33e15b64370dfdd.zip |
Revert misguided change to postgres_fdw FOR UPDATE/SHARE code.
In commit 462bd95705a0c23ba0b0ba60a78d32566a0384c1, I changed postgres_fdw
to rely on get_plan_rowmark() instead of get_parse_rowmark(). I still
think that's a good idea in the long run, but as Etsuro Fujita pointed out,
it doesn't work today because planner.c forces PlanRowMarks to have
markType = ROW_MARK_COPY for all foreign tables. There's no urgent reason
to change this in the back branches, so let's just revert that part of
yesterday's commit rather than trying to design a better solution under
time pressure.
Also, add a regression test case showing what postgres_fdw does with FOR
UPDATE/SHARE. I'd blithely assumed there was one already, else I'd have
realized yesterday that this code didn't work.
Diffstat (limited to 'contrib/btree_gist/btree_float8.c')
0 files changed, 0 insertions, 0 deletions