0001-fixup-not-sure.txt

text/plain

Filename: 0001-fixup-not-sure.txt
Type: text/plain
Part: 1
Message: Re: pg_plan_advice
From 4fdb5d6b047fc7fd188be23c64ae7f352b014f21 Mon Sep 17 00:00:00 2001
From: Jakub Wartak <jakub.wartak@enterprisedb.com>
Date: Fri, 31 Oct 2025 09:34:58 +0100
Subject: [PATCH 1/2] fixup: not sure

---
 contrib/pg_plan_advice/pgpa_planner.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/pg_plan_advice/pgpa_planner.c b/contrib/pg_plan_advice/pgpa_planner.c
index c4859c23020..5b7d2cbd9f4 100644
--- a/contrib/pg_plan_advice/pgpa_planner.c
+++ b/contrib/pg_plan_advice/pgpa_planner.c
@@ -1411,7 +1411,7 @@ pgpa_planner_apply_scan_advice(RelOptInfo *rel,
 		 * Note that setting PGS_CONSIDER_NONPARTIAL in my_gather_mask is
 		 * equivalent to allowing the non-use of either form of Gather here.
 		 */
-		if (my_entry->tag == PGPA_TAG_GATHER |
+		if (my_entry->tag == PGPA_TAG_GATHER ||
 			my_entry->tag == PGPA_TAG_GATHER_MERGE)
 		{
 			if (!just_one_rel)
-- 
2.43.0