Doc: list AT TIME ZONE and COLLATE in operator precedence table.
authorTom Lane <[email protected]>
Sun, 26 Nov 2023 21:40:22 +0000 (16:40 -0500)
committerTom Lane <[email protected]>
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 bcb67b74592f3e93ab634d14efa40272edc4b171..9e2e9fd5ee423578046fec493cba4b935e909d20 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>