fix concurrency bug in pgtype.defaultMap (#1650)
This commit is contained in:
committed by
Jack Christensen
parent
9a5ead9048
commit
7c386112e3
@@ -218,4 +218,6 @@ func initDefaultMap() {
|
||||
registerDefaultPgTypeVariants[Range[Timestamptz]](defaultMap, "tstzrange")
|
||||
registerDefaultPgTypeVariants[Multirange[Range[Timestamptz]]](defaultMap, "tstzmultirange")
|
||||
registerDefaultPgTypeVariants[UUID](defaultMap, "uuid")
|
||||
|
||||
defaultMap.buildReflectTypeToType()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user