Skip to content

Commit 9033e70

Browse files
committed
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
1 parent c136eb0 commit 9033e70

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

doc/src/sgml/syntax.sgml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,6 +1065,18 @@ CAST ( '<replaceable>string</replaceable>' AS <replaceable>type</replaceable> )
10651065
<entry>unary plus, unary minus</entry>
10661066
</row>
10671067

1068+
<row>
1069+
<entry><token>COLLATE</token></entry>
1070+
<entry>left</entry>
1071+
<entry>collation selection</entry>
1072+
</row>
1073+
1074+
<row>
1075+
<entry><token>AT</token></entry>
1076+
<entry>left</entry>
1077+
<entry><literal>AT TIME ZONE</literal></entry>
1078+
</row>
1079+
10681080
<row>
10691081
<entry><token>^</token></entry>
10701082
<entry>left</entry>

0 commit comments

Comments
 (0)