Improve comment in gram.y.
authorTom Lane <[email protected]>
Tue, 25 Jun 2024 21:53:41 +0000 (17:53 -0400)
committerTom Lane <[email protected]>
Tue, 25 Jun 2024 21:53:41 +0000 (17:53 -0400)
"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[email protected]

src/backend/parser/gram.y

index 4d582950b72e5d45f09537a4d8e069b5dfd07e7d..4a4b47ca501fd75557064801c6294c36917c8edd 100644 (file)
@@ -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).