public inbox for [email protected]
help / color / mirror / Atom feedFrom: Álvaro Herrera <[email protected]>
Subject: [PATCH v6 1/2] Move heapam.h-specific flag bit
Date: Wed, 1 Apr 2026 20:31:28 +0200
This avoids possible future collisions.
---
src/include/access/heapam.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/include/access/heapam.h b/src/include/access/heapam.h
index 54067b828e4..a542e89fd29 100644
--- a/src/include/access/heapam.h
+++ b/src/include/access/heapam.h
@@ -36,7 +36,11 @@
#define HEAP_INSERT_SKIP_FSM TABLE_INSERT_SKIP_FSM
#define HEAP_INSERT_FROZEN TABLE_INSERT_FROZEN
#define HEAP_INSERT_NO_LOGICAL TABLE_INSERT_NO_LOGICAL
-#define HEAP_INSERT_SPECULATIVE 0x0010
+/*
+ * private flag bits for heap_insert: we define these starting from the
+ * opposite end of the options word as the ones in tableam.h.
+ */
+#define HEAP_INSERT_SPECULATIVE (1 << 31)
/* "options" flag bits for heap_page_prune_and_freeze */
#define HEAP_PAGE_PRUNE_MARK_UNUSED_NOW (1 << 0)
--
2.47.3
--iit4jcttjj2egee5
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment;
filename="v6-0002-Define-heap_insert-to-obey-tableam.h-option-bits-.patch"
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]
Subject: Re: [PATCH v6 1/2] Move heapam.h-specific flag bit
In-Reply-To: <no-message-id-601327@localhost>
* 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