Doc: list AT TIME ZONE and COLLATE in operator precedence table.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 26 Nov 2023 21:40:22 +0000 (16:40 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 26 Nov 2023 21:40:22 +0000 (16:40 -0500)
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

doc/src/sgml/syntax.sgml

index 3ba844057fbddfc98b0647f8f5972ea3cd3f949f..dbb1dc80ec1adf49684b5d8a892084e91ca1944e 100644 (file)
@@ -1065,6 +1065,18 @@ CAST ( '<replaceable>string</replaceable>' AS <replaceable>type</replaceable> )
        <entry>unary plus, unary minus</entry>
       </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>