Re: postgres_fdw: commit remote (sub)transactions in parallel during pre-commit
Etsuro Fujita <etsuro.fujita@gmail.com>
From: Etsuro Fujita <etsuro.fujita@gmail.com>
To: David Zhang <david.zhang@highgo.ca>
Cc: Fujii Masao <masao.fujii@oss.nttdata.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-05-12T08:46:27Z
Lists: pgsql-hackers
On Wed, May 11, 2022 at 7:39 PM Etsuro Fujita <etsuro.fujita@gmail.com> wrote: > On Fri, May 6, 2022 at 7:08 PM Etsuro Fujita <etsuro.fujita@gmail.com> wrote: > > > > On Wed, Apr 20, 2022 at 4:55 AM David Zhang <david.zhang@highgo.ca> wrote: > > > >> + * remote server in parallel at (sub)transaction end. > > > I noticed that the comment failed to mention that the > > parallel_commit option is disabled by default. Also, I noticed a > > comment above it: > > > > * It's enough to determine this only when making new connection because > > * all the connections to the foreign server whose keep_connections option > > * is changed will be closed and re-made later. > > > > This would apply to the parallel_commit option as well. How about > > updating these like the attached? (I simplified the latter comment > > and moved it to a more appropriate place.) > > I’m planning to commit this as a follow-up patch for commit 04e706d42. Done. Best regards, Etsuro Fujita
Commits
-
postgres_fdw: Add support for parallel abort.
- 983ec23007bd 16.0 landed
-
Refine the definition of page-level freezing.
- b37a08323964 16.0 cited
-
postgres_fdw: Update comments in make_new_connection().
- 4036bcbbb928 15.0 landed
-
postgres_fdw: Minor cleanup for pgfdw_abort_cleanup().
- 56566835039a 15.0 landed
-
postgres_fdw: Add support for parallel commit.
- 04e706d4238f 15.0 landed
-
Fix ruleutils.c's dumping of whole-row Vars in more contexts.
- 43c2175121c8 15.0 cited
-
postgres_fdw: Refactor transaction rollback code to avoid code duplication.
- 85c69611288f 15.0 cited