ResolvedType implements the TypedExpr interface. Must be kept in sync with DArray.MaybeSetCustomOid.
()
| 5035 | // ResolvedType implements the TypedExpr interface. Must be kept in sync with |
| 5036 | // DArray.MaybeSetCustomOid. |
| 5037 | func (d *DArray) ResolvedType() *types.T { |
| 5038 | switch d.customOid { |
| 5039 | case oid.T_int2vector: |
| 5040 | return types.Int2Vector |
| 5041 | case oid.T_oidvector: |
| 5042 | return types.OidVector |
| 5043 | } |
| 5044 | return types.MakeArray(d.ParamTyp) |
| 5045 | } |
| 5046 | |
| 5047 | // IsComposite implements the CompositeDatum interface. |
| 5048 | func (d *DArray) IsComposite() bool { |
no test coverage detected