public inbox for [email protected]
help / color / mirror / Atom feedFrom: Zsolt Parragi <[email protected]>
To: Álvaro Herrera <[email protected]>
Cc: Pg Hackers <[email protected]>
Subject: Re: table AM option passing
Date: Wed, 18 Mar 2026 20:20:20 +0000
Message-ID: <CAN4CZFMheEoAuLbszaYg=eo=WP0ichG+8ubF5ym5jEh_2Xr1DA@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
Hello!
I think there's a change missing in simple_table_tuple_update that
works by accident, as true == 1 == TABLE_UPDATE_WAIT.
Maybe the values could use a different starting value instead of 1 to
surface possible issues?
+ * TABLE_DELETE_WAIT -- set if should wait for any conflicting
+ * update/delete to commit/abort
+ * TABLE_DELETE_CHANGING_PART -- set iff the tuple is being moved to
+ * another partition table due to an update of the partition key.
+ * Otherwise, false.
"Otherwise, false" seems like a leftover from the previous comment version?
tableam.h also have two leftover "wait == false" comments.
view thread (10+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: table AM option passing
In-Reply-To: <CAN4CZFMheEoAuLbszaYg=eo=WP0ichG+8ubF5ym5jEh_2Xr1DA@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox