Re: join pushdown and issue with foreign update - Mailing list pgsql-hackers

From Alexander Pyhalov
Subject Re: join pushdown and issue with foreign update
Date
Msg-id 050b90460c024dd21af53dbaaf8fd510@postgrespro.ru
Whole thread Raw
In response to Re: join pushdown and issue with foreign update  (Amit Langote <amitlangote09@gmail.com>)
Responses Re: join pushdown and issue with foreign update
List pgsql-hackers
Amit Langote писал 2021-06-01 15:47:

> Perhaps, we can get away with adding the wholerow Var with the target
> relation's reltype when the target foreign table is not a "child"
> relation, but the root target relation itself.  Maybe like the
> attached?
> 

Hi.

I think the patch fixes this issue, but it still preserves chances to 
get RECORD in fetch_more_data()
(at least with combination with asymmetric partition-wise join).

What about the following patch?
-- 
Best regards,
Alexander Pyhalov,
Postgres Professional
Attachment

pgsql-hackers by date:

Previous
From: "Joel Jacobson"
Date:
Subject: Re: security_definer_search_path GUC
Next
From: Pavel Stehule
Date:
Subject: Re: security_definer_search_path GUC