Re: postgres_fdw: perform UPDATE/DELETE .. RETURNING on a join directly
Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
From: Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Pg Hackers <pgsql-hackers@postgresql.org>,
Rushabh Lathia <rushabh.lathia@gmail.com>,
Michael Paquier <michael.paquier@gmail.com>,
Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Date: 2018-02-09T10:24:15Z
Lists: pgsql-hackers
Attachments
- postgres-fdw-regress.patch (text/x-diff) patch
(2018/02/09 10:48), Etsuro Fujita wrote: > (2018/02/09 4:32), Robert Haas wrote: >> On Thu, Feb 8, 2018 at 11:05 AM, Tom Lane<tgl@sss.pgh.pa.us> wrote: >>> there's still an intermittent issue. I ran "make installcheck" in >>> contrib/postgres_fdw in a loop, and got a similar failure on the >>> 47th try --- my result duplicates the second plan change shown by >>> rhinoceros, but not the first one. I speculate that the plan change >>> is a result of autovacuum kicking in partway through the run. > > Will look into this. I tried to reproduce that in my environment, but I couldn't. On reflection I think an easy and reliable way to address that concern is to use local stats on foreign tables. Attached is a patch for that. Best regards, Etsuro Fujita
Commits
-
Temporarily instrument postgres_fdw test to look for statistics changes.
- c2c537c56dc3 11.0 landed
-
postgres_fdw: Fourth attempt to stabilize regression tests.
- 1733460f0205 11.0 landed
-
postgres_fdw: Third attempt to stabilize regression tests.
- 4fa396464e5f 11.0 landed
-
postgres_fdw: Attmempt to stabilize regression tests.
- 958e20e42d6c 11.0 landed
-
postgres_fdw: Push down UPDATE/DELETE joins to remote servers.
- 1bc0100d270e 11.0 landed