From 3de8f2e12edbd9660ea9f308023ca8ceb22d8d74 Mon Sep 17 00:00:00 2001 From: reshke Date: Fri, 28 Mar 2025 16:35:57 +0000 Subject: [PATCH] Fixups: remove empty line & fix oversight of ca87c41 --- src/backend/optimizer/util/plancat.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/backend/optimizer/util/plancat.c b/src/backend/optimizer/util/plancat.c index 0489ad36644..a96ccd2a3a1 100644 --- a/src/backend/optimizer/util/plancat.c +++ b/src/backend/optimizer/util/plancat.c @@ -1299,8 +1299,7 @@ get_relation_constraints(PlannerInfo *root, /* * If this constraint hasn't been fully validated yet, we must - * ignore it here. Also ignore if NO INHERIT and we weren't told - * that that's safe. + * ignore it here. */ if (!constr->check[i].ccvalid) continue; @@ -1317,7 +1316,6 @@ get_relation_constraints(PlannerInfo *root, if (constr->check[i].ccnoinherit && !include_noinherit) continue; - cexpr = stringToNode(constr->check[i].ccbin); /* -- 2.43.0