]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
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 2c9907ab8bd9ec714621efa775fb1486523a47e9..bcdb6f4a0f2c2b7b2f6517590591db3d000e8e36 100644 (file)
@@ -1045,6 +1045,18 @@ SELECT (5 !) - 6;
        <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>