Skip to content

Commit e6408e8

Browse files
committed
support xmltype
1 parent 170cd11 commit e6408e8

File tree

5 files changed

+2164
-2118
lines changed

5 files changed

+2164
-2118
lines changed

ast/element/datatype.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const (
4545
DataDefSmallInt
4646
DataDefDoublePrecision
4747
DataDefReal
48+
DataDefXMLType
4849
)
4950

5051
type datatype struct {
@@ -167,4 +168,8 @@ type NClob struct {
167168

168169
type BFile struct {
169170
datatype
171+
}
172+
173+
type XMLType struct {
174+
datatype
170175
}

lexer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ var unReservedKeyword = map[string]int{
307307
"varying": _varying,
308308
"visible": _visible,
309309
"write": _write,
310+
"xmltype": _XMLType,
310311
"year": _year,
311312
"zone": _zone,
312313
}

0 commit comments

Comments
 (0)