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

Function initArrayToArrayConcatenation

postgres/parser/sem/tree/eval.go:228–239  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

226}
227
228func initArrayToArrayConcatenation() {
229 for _, t := range types.Scalar {
230 typ := t
231 BinOps[Concat] = append(BinOps[Concat], &BinOp{
232 LeftType: types.MakeArray(typ),
233 RightType: types.MakeArray(typ),
234 ReturnType: types.MakeArray(typ),
235 NullableArgs: true,
236 Volatility: VolatilityImmutable,
237 })
238 }
239}
240
241func init() {
242 initArrayElementConcatenation()

Callers 1

initFunction · 0.85

Calls 1

MakeArrayFunction · 0.92

Tested by

no test coverage detected