RE: Skip collecting decoded changes of already-aborted transactions

Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com>

From: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Amit Kapila <amit.kapila16@gmail.com>, Ajin Cherian <itsajin@gmail.com>, vignesh C <vignesh21@gmail.com>, Dilip Kumar <dilipbalaut@gmail.com>, 'Masahiko Sawada' <sawada.mshk@gmail.com>, Peter Smith <smithpb2250@gmail.com>
Date: 2025-03-14T05:04:20Z
Lists: pgsql-hackers

Attachments

Dear hackers,

I hope I'm in the correct thread. In abfb296, rbtxn_skip_prepared() was removed from
SnapBuildDistributeNewCatalogSnapshot(). ISTM it was an only caller of the function.

Is it an intentional for external projects? Or it can be removed like attached?

Best regards,
Hayato Kuroda
FUJITSU LIMITED

Commits

  1. Rename RBTXN_PREPARE to RBTXN_IS_PREPARE for better clarification.

  2. Skip logical decoding of already-aborted transactions.