On Tue, Dec 22, 2020 at 5:16 PM Amit Langote <amitlangot...@gmail.com> wrote: > On Mon, Dec 7, 2020 at 3:53 PM Amit Langote <amitlangot...@gmail.com> wrote: > > On Thu, Nov 12, 2020 at 5:04 PM Amit Langote <amitlangot...@gmail.com> > > wrote: > > > Attached new 0002 which does these adjustments. I went with > > > ri_RootTargetDesc to go along with ri_RelationDesc. > > > > > > Also, I have updated the original 0002 (now 0003) to make > > > GetChildToRootMap() use ri_RootTargetDesc instead of > > > ModifyTableState.rootResultRelInfo.ri_RelationDesc, so that even > > > AfterTriggerSaveEvent() can now use that function. This allows us to > > > avoid having to initialize ri_ChildToRootMap anywhere but inside > > > GetChildRootMap(), with that long comment defending doing so. :-) > > > > These needed to be rebased due to recent copy.c upheavals. Attached. > > Needed to be rebased again.
And again, this time over the recent batch insert API related patches. -- Amit Langote EDB: http://www.enterprisedb.com
v13-0001-Set-ForeignScanState.resultRelInfo-lazily.patch
Description: Binary data
v13-0002-Rethink-ResultRelInfo.ri_PartitionRoot.patch
Description: Binary data
v13-0003-Initialize-result-relation-information-lazily.patch
Description: Binary data