Re: Skip collecting decoded changes of already-aborted transactions
Peter Smith <smithpb2250@gmail.com>
From: Peter Smith <smithpb2250@gmail.com>
To: Masahiko Sawada <sawada.mshk@gmail.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>, Ajin Cherian <itsajin@gmail.com>, vignesh C <vignesh21@gmail.com>, Dilip Kumar <dilipbalaut@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-02-12T05:43:12Z
Lists: pgsql-hackers
Hi. Here are some minor comments for the v18* patch set. ////////// Patch v18-0001 1.1. Commit message A previously reported typo still exists: /noticeble/noticeable/ ////////// Patch v18-0002 2.1 +#define RBTXN_PREPARE_STATUS_FLAGS (RBTXN_IS_PREPARED | RBTXN_SKIPPED_PREPARE | RBTXN_SENT_PREPARE) + AFAICT bitmasks like this are more commonly named with a _MASK suffix. How about something like: - RBTXN_PREPARE_MASK - RBTXN_PREPARE_STATUS_MASK - RBTXN_PREPARE_FLAGS_MASK ========== Kind Regards, Peter Smith. Fujitsu Australia
Commits
-
Rename RBTXN_PREPARE to RBTXN_IS_PREPARE for better clarification.
- abfb29648f9a 18.0 landed
-
Skip logical decoding of already-aborted transactions.
- 072ee847ad4c 18.0 landed