nocfbot-0033-Fix-imperative-voice-check_rpr_nav_expr-comment.txt

text/plain

Filename: nocfbot-0033-Fix-imperative-voice-check_rpr_nav_expr-comment.txt
Type: text/plain
Part: 32
Message: Re: Row pattern recognition
From 015261bd7e853fcf26188d8374e8d9d0259967ba Mon Sep 17 00:00:00 2001
From: Henson Choi <assam258@gmail.com>
Date: Sat, 2 May 2026 00:19:20 +0900
Subject: [PATCH 33/40] Fix imperative voice in check_rpr_nav_expr header
 comment

The header comment of check_rpr_nav_expr() opens with the
imperative "Validate a single RPRNavExpr node ..." but the
following sentence reverts to the third-person "Checks for
illegal nesting ...".  Drop the trailing s so that both
sentences are imperative and consistent.

Comment-only change; no functional effect.
---
 src/backend/parser/parse_rpr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/parser/parse_rpr.c b/src/backend/parser/parse_rpr.c
index 8864b20e6cf..87ccf55a5ee 100644
--- a/src/backend/parser/parse_rpr.c
+++ b/src/backend/parser/parse_rpr.c
@@ -428,7 +428,7 @@ transformDefineClause(ParseState *pstate, WindowClause *wc, WindowDef *windef,
 /*
  * check_rpr_nav_expr
  *		Validate a single RPRNavExpr node by walking its arg and offset_arg
- *		subtrees in a single pass each.  Checks for illegal nesting, missing
+ *		subtrees in a single pass each.  Check for illegal nesting, missing
  *		column references, and non-constant offset expressions.
  *
  * Nesting rules (SQL standard 5.6.4):
-- 
2.50.1 (Apple Git-155)