aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2023-11-26 16:40:22 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2023-11-26 16:40:22 -0500
commit69a9134326f22acbb942efcf903f03fd6037613c (patch)
tree76fe57a19f30e21235f895f993539ee4d258baee
parent5abdfd88fa771a48bcdbf6c62ceab1cc8d9dd804 (diff)
downloadpostgresql-69a9134326f22acbb942efcf903f03fd6037613c.tar.gz
postgresql-69a9134326f22acbb942efcf903f03fd6037613c.zip
Doc: list AT TIME ZONE and COLLATE in operator precedence table.
These constructs have precedence, but we forgot to list them. In HEAD, mention AT LOCAL as well as AT TIME ZONE. Per gripe from Shay Rojansky. Discussion: https://postgr.es/m/CADT4RqBPdbsZW7HS1jJP319TMRHs1hzUiP=iRJYR6UqgHCrgNQ@mail.gmail.com
-rw-r--r--doc/src/sgml/syntax.sgml12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml
index feb73cf893e..0c724cb093f 100644
--- a/doc/src/sgml/syntax.sgml
+++ b/doc/src/sgml/syntax.sgml
@@ -1022,6 +1022,18 @@ CAST ( '<replaceable>string</replaceable>' AS <replaceable>type</replaceable> )
</row>
<row>
+ <entry><token>COLLATE</token></entry>
+ <entry>left</entry>
+ <entry>collation selection</entry>
+ </row>
+
+ <row>
+ <entry><token>AT</token></entry>
+ <entry>left</entry>
+ <entry><literal>AT TIME ZONE</literal></entry>
+ </row>
+
+ <row>
<entry><token>^</token></entry>
<entry>left</entry>
<entry>exponentiation</entry>