Skip to content

Commit 1bf29f5

Browse files
committed
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
1 parent 23c5a0e commit 1bf29f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/parser/gram.y

+1-1
Original file line numberDiff line numberDiff line change
@@ -15667,7 +15667,7 @@ func_expr: func_application within_group_clause filter_clause over_clause
1566715667
;
1566815668

1566915669
/*
15670-
* As func_expr but does not accept WINDOW functions directly
15670+
* Like func_expr but does not accept WINDOW functions directly
1567115671
* (but they can still be contained in arguments for functions etc).
1567215672
* Use this when window expressions are not allowed, where needed to
1567315673
* disambiguate the grammar (e.g. in CREATE INDEX).

0 commit comments

Comments
 (0)