Re: Expression errors with "FOR UPDATE" and postgres_fdw with partition wise join enabled.
Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
From: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
To: Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
Cc: Rajkumar Raghuwanshi <rajkumar.raghuwanshi@enterprisedb.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2018-04-17T09:43:51Z
Lists: pgsql-hackers
Attachments
- expr_ref_error_pwj_v2.tar.gz (application/x-gzip)
On Tue, Apr 17, 2018 at 2:05 PM, Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp> wrote: > (2018/02/20 18:13), Ashutosh Bapat wrote: >> >> Here's patchset implementing this solution. >> >> 0001 adds PVC_*_CONVERTROWTYPEEXPR to pull_var_clause() and adjusts its >> callers. >> >> 0002 fixes a similar bug for regular partitioned tables. The patch has >> testcase. The commit message explains the bug in more detail. >> >> 0003 has postgres_fdw fixes as outlined above with tests. > > > The patch 0003 doesn't applies to the latest HEAD any more, so please update > the patch. I think this should be an open item for PG11. My apologizes for > not having reviewed the patch in the last commitfest. Here's updated patch-set. -- Best Wishes, Ashutosh Bapat EnterpriseDB Corporation The Postgres Database Company
Commits
-
Adjust EXPLAIN's output for disabled nodes
- 161320b4b960 18.0 cited
-
Disable support for partitionwise joins in problematic cases.
- 940487956ede 11.0 landed
- 7cfdc77023ad 12.0 landed
-
Rewrite the code that applies scan/join targets to paths.
- 11cf92f6e2e1 11.0 cited