Skip to content

Add xid8 type #1101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions modules/core/shared/src/main/scala/data/Type.scala
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ object Type {
val varchar = Type("varchar")
val void = Type("void")
val xid = Type("xid")
val xid8 = Type("xid8")
val xml = Type("xml")

// Built-in Array Types
Expand All @@ -161,6 +162,7 @@ object Type {
val _oid = Type("_oid", List(Type("oid")))
val _tid = Type("_tid", List(Type("tid")))
val _xid = Type("_xid", List(Type("xid")))
val _xid8 = Type("_xid8", List(Type("xid8")))
val _cid = Type("_cid", List(Type("cid")))
val _oidvector = Type("_oidvector", List(Type("oidvector")))
val _json = Type("_json", List(Type("json")))
Expand Down
4 changes: 2 additions & 2 deletions modules/core/shared/src/main/scala/util/Typer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ object Typer {
704 -> tinterval, 2279 -> trigger, 3310 -> tsm_handler, 3615 -> tsquery,
3908 -> tsrange, 3910 -> tstzrange, 3614 -> tsvector, 2970 -> txid_snapshot,
705 -> unknown, 2950 -> uuid, 1562 -> varbit, 1043 -> varchar,
2278 -> void, 28 -> xid, 142 -> xml,
2278 -> void, 28 -> xid, 5069 -> xid8, 142 -> xml,

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

)

Expand Down
Loading