Re: POC: postgres_fdw insert batching - Mailing list pgsql-hackers

From Tom Lane
Subject Re: POC: postgres_fdw insert batching
Date
Msg-id 799652.1611194626@sss.pgh.pa.us
Whole thread Raw
In response to RE: POC: postgres_fdw insert batching  ("tsunakawa.takay@fujitsu.com" <tsunakawa.takay@fujitsu.com>)
Responses RE: POC: postgres_fdw insert batching
List pgsql-hackers
"tsunakawa.takay@fujitsu.com" <tsunakawa.takay@fujitsu.com> writes:
> Just for learning, could anyone tell me what this loop for?  I thought current Postgres's DML supports a single
targettable, so it's enough to handle the first element of mtstate->resultRelInfo. 

The "single target table" could be partitioned, in which case there'll be
multiple resultrelinfos, some of which could be foreign tables.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: POC: postgres_fdw insert batching
Next
From: "tsunakawa.takay@fujitsu.com"
Date:
Subject: RE: POC: postgres_fdw insert batching