On 2020-12-08 22:02:24 -0500, Tom Lane wrote: > BTW, I observe that with MAXDIM gone from execExpr.h, there are > no widely-visible uses of MAXDIM except for array.h. I therefore > suggest that we should pull "#define MAXDIM" out of c.h and put it > into array.h, as attached. I was slightly surprised to find that > this seems to entail *no* new inclusions of array.h ... I expected > there would be one or two. But the main point here is we want to > restrict use of that symbol to stuff that's tightly integrated with > varlena-array handling, so it ought not be in c.h.
+1