Skip to content

Commit 49ba48f

Browse files
authored
Merge pull request #1101 from nkgm/topic/xid8
Add xid8 type
2 parents 630ed22 + d10cf9f commit 49ba48f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

modules/core/shared/src/main/scala/data/Type.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ object Type {
145145
val varchar = Type("varchar")
146146
val void = Type("void")
147147
val xid = Type("xid")
148+
val xid8 = Type("xid8")
148149
val xml = Type("xml")
149150

150151
// Built-in Array Types
@@ -161,6 +162,7 @@ object Type {
161162
val _oid = Type("_oid", List(Type("oid")))
162163
val _tid = Type("_tid", List(Type("tid")))
163164
val _xid = Type("_xid", List(Type("xid")))
165+
val _xid8 = Type("_xid8", List(Type("xid8")))
164166
val _cid = Type("_cid", List(Type("cid")))
165167
val _oidvector = Type("_oidvector", List(Type("oidvector")))
166168
val _json = Type("_json", List(Type("json")))

modules/core/shared/src/main/scala/util/Typer.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ object Typer {
8989
704 -> tinterval, 2279 -> trigger, 3310 -> tsm_handler, 3615 -> tsquery,
9090
3908 -> tsrange, 3910 -> tstzrange, 3614 -> tsvector, 2970 -> txid_snapshot,
9191
705 -> unknown, 2950 -> uuid, 1562 -> varbit, 1043 -> varchar,
92-
2278 -> void, 28 -> xid, 142 -> xml,
92+
2278 -> void, 28 -> xid, 5069 -> xid8, 142 -> xml,
9393

9494
// Built-in Array Types
9595
1000 -> _bool, 1001 -> _bytea, 1002 -> _char, 1003 -> _name,
@@ -109,7 +109,7 @@ object Typer {
109109
3644 -> _gtsvector, 3645 -> _tsquery, 3735 -> _regconfig, 3770 -> _regdictionary,
110110
3807 -> _jsonb, 2949 -> _txid_snapshot, 3905 -> _int4range, 3907 -> _numrange,
111111
3909 -> _tsrange, 3911 -> _tstzrange, 3913 -> _daterange, 3927 -> _int8range,
112-
2287 -> _record, 1263 -> _cstring,
112+
2287 -> _record, 1263 -> _cstring, 271 -> _xid8
113113

114114
)
115115

0 commit comments

Comments
 (0)