Re: POC: postgres_fdw insert batching
От | Zhihong Yu |
---|---|
Тема | Re: POC: postgres_fdw insert batching |
Дата | |
Msg-id | CALNJ-vTb7E-dtuJqACkEdqWKCgdmy1X6K2bn543=ptbfjxnN-A@mail.gmail.com обсуждение исходный текст |
Ответ на | RE: POC: postgres_fdw insert batching ("tsunakawa.takay@fujitsu.com" <tsunakawa.takay@fujitsu.com>) |
Ответы |
RE: POC: postgres_fdw insert batching
|
Список | pgsql-hackers |
Hi, Takayuki-san:
My first name is Zhihong.
You can call me Ted if you want to save some typing :-)
Cheers
From: Zhihong Yu <zyu@yugabyte.com>
> Do we need to consider how this part of code inside ExecInitModifyTable() would evolve ?
> I think placing the compound condition toward the end of ExecInitModifyTable() is reasonable because it checks the latest information.
+1 for Zaihong-san's idea. But instead of rewriting every relsultRelInfo to mtstate->resultRelInfo, which makes it a bit harder to read, I'd like to suggest just adding "resultRelInfo = mtstate->resultRelInfo;" immediately before the if block.
Thanks a lot, all for helping to solve the problem quickly!
Regards
Takayuki Tsunakawa
В списке pgsql-hackers по дате отправления: