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 feb73cf893e4eaae79b0714069cadd0d4f498e1d..0c724cb093f483fc84f56c2a71c8a47dc3dcb845 100644 (file)
@@ -1021,6 +1021,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>