https://www.postgresql.org/docs/current/sql-keywords-appendix.html
(s string)
| 78 | |
| 79 | // https://www.postgresql.org/docs/current/sql-keywords-appendix.html |
| 80 | func (p *Parser) IsReservedKeyword(s string) bool { |
| 81 | switch strings.ToLower(s) { |
| 82 | case "all": |
| 83 | case "analyse": |
| 84 | case "analyze": |
| 85 | case "and": |
| 86 | case "any": |
| 87 | case "array": |
| 88 | case "as": |
| 89 | case "asc": |
| 90 | case "asymmetric": |
| 91 | case "authorization": |
| 92 | case "binary": |
| 93 | case "both": |
| 94 | case "case": |
| 95 | case "cast": |
| 96 | case "check": |
| 97 | case "collate": |
| 98 | case "collation": |
| 99 | case "column": |
| 100 | case "concurrently": |
| 101 | case "constraint": |
| 102 | case "create": |
| 103 | case "cross": |
| 104 | case "current_catalog": |
| 105 | case "current_date": |
| 106 | case "current_role": |
| 107 | case "current_schema": |
| 108 | case "current_time": |
| 109 | case "current_timestamp": |
| 110 | case "current_user": |
| 111 | case "default": |
| 112 | case "deferrable": |
| 113 | case "desc": |
| 114 | case "distinct": |
| 115 | case "do": |
| 116 | case "else": |
| 117 | case "end": |
| 118 | case "except": |
| 119 | case "false": |
| 120 | case "fetch": |
| 121 | case "for": |
| 122 | case "foreign": |
| 123 | case "freeze": |
| 124 | case "from": |
| 125 | case "full": |
| 126 | case "grant": |
| 127 | case "group": |
| 128 | case "having": |
| 129 | case "ilike": |
| 130 | case "in": |
| 131 | case "initially": |
| 132 | case "inner": |
| 133 | case "intersect": |
| 134 | case "into": |
| 135 | case "is": |
| 136 | case "isnull": |
| 137 | case "join": |
no outgoing calls
no test coverage detected