Versions in this module Expand all Collapse all v0 v0.23.2 Feb 12, 2024 Changes in this version + func CastTypeName(t *types.T) string + func ForEachCast(...) + func LookupCastVolatility(from, to *types.T) (_ volatility.V, ok bool) + func OIDInCastMap(src, tgt oid.Oid) bool + func ValidCast(src, tgt *types.T, ctx Context) bool + type Cast struct + MaxContext Context + Volatility volatility.V + VolatilityHint string + func LookupCast(src, tgt *types.T) (Cast, bool) + type Context uint8 + const ContextAssignment + const ContextExplicit + const ContextImplicit + func (cc Context) PGString() string + func (cc Context) String() string + type ContextOrigin uint8 + const ContextOriginAutomaticIOConversion + const ContextOriginLegacyConversion + const ContextOriginPgCast