MCPcopy Create free account
hub / github.com/dolthub/doltgresql / ResolvedType

Method ResolvedType

postgres/parser/sem/tree/datum.go:1653–1661  ·  view source on GitHub ↗

ResolvedType implements the TypedExpr interface.

()

Source from the content-addressed store, hash-verified

1651
1652// ResolvedType implements the TypedExpr interface.
1653func (d *DArray) ResolvedType() *types.T {
1654 switch d.customOid {
1655 case oid.T_int2vector:
1656 return types.Int2Vector
1657 case oid.T_oidvector:
1658 return types.OidVector
1659 }
1660 return types.MakeArray(d.ParamTyp)
1661}
1662
1663// IsComposite implements the CompositeDatum interface.
1664func (d *DArray) IsComposite() bool {

Callers 1

pgwireFormatMethod · 0.95

Calls 1

MakeArrayFunction · 0.92

Tested by

no test coverage detected