Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbe6d1c8

Browse files
committed
Change COLLATION keyword category
It was changed from unreserved to reserved as part of the COLLATIONFOR syntax, but it turns out that type_func_name_keyword issufficient.
1 parent488c6dd commitbe6d1c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/backend/parser/gram.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12528,6 +12528,7 @@ col_name_keyword:
1252812528
type_func_name_keyword:
1252912529
AUTHORIZATION
1253012530
| BINARY
12531+
| COLLATION
1253112532
| CONCURRENTLY
1253212533
| CROSS
1253312534
| CURRENT_SCHEMA
@@ -12571,7 +12572,6 @@ reserved_keyword:
1257112572
| CAST
1257212573
| CHECK
1257312574
| COLLATE
12574-
| COLLATION
1257512575
| COLUMN
1257612576
| CONSTRAINT
1257712577
| CREATE

‎src/include/parser/kwlist.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ PG_KEYWORD("close", CLOSE, UNRESERVED_KEYWORD)
7979
PG_KEYWORD("cluster",CLUSTER,UNRESERVED_KEYWORD)
8080
PG_KEYWORD("coalesce",COALESCE,COL_NAME_KEYWORD)
8181
PG_KEYWORD("collate",COLLATE,RESERVED_KEYWORD)
82-
PG_KEYWORD("collation",COLLATION,RESERVED_KEYWORD)
82+
PG_KEYWORD("collation",COLLATION,TYPE_FUNC_NAME_KEYWORD)
8383
PG_KEYWORD("column",COLUMN,RESERVED_KEYWORD)
8484
PG_KEYWORD("comment",COMMENT,UNRESERVED_KEYWORD)
8585
PG_KEYWORD("comments",COMMENTS,UNRESERVED_KEYWORD)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp