diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2024-06-25 17:53:41 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2024-06-25 17:53:41 -0400 |
commit | 1bf29f51fa1a15bd5d28e64070e6e8d105338fc3 (patch) | |
tree | 770f9f91cb2ea7354d33eeac2d74b34c9b1de69f /src | |
parent | 23c5a0e7d43bc925c6001538f04a458933a11fc1 (diff) | |
download | postgresql-1bf29f51fa1a15bd5d28e64070e6e8d105338fc3.tar.gz postgresql-1bf29f51fa1a15bd5d28e64070e6e8d105338fc3.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/parser/gram.y | 2 |
1 files changed, 1 insertions, 1 deletions
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). |