From 1bf29f51fa1a15bd5d28e64070e6e8d105338fc3 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 25 Jun 2024 17:53:41 -0400 Subject: [PATCH] Improve comment in gram.y. "As so-and-so" isn't bad English, but it has a faintly archaic whiff to it, and confuses some non-native speakers. Write "Like so-and-so" instead. Per complaint from Tatsuo Ishii. Discussion: https://postgr.es/m/20240623.130154.1867056921698616251.t-ishii@sranhm.sra.co.jp.sranhm --- src/backend/parser/gram.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y index 4d582950b72..4a4b47ca501 100644 --- a/src/backend/parser/gram.y +++ b/src/backend/parser/gram.y @@ -15667,7 +15667,7 @@ func_expr: func_application within_group_clause filter_clause over_clause ; /* - * As func_expr but does not accept WINDOW functions directly + * Like func_expr but does not accept WINDOW functions directly * (but they can still be contained in arguments for functions etc). * Use this when window expressions are not allowed, where needed to * disambiguate the grammar (e.g. in CREATE INDEX).