Nathan Bossart <nathandbossart(at)gmail(dot)com> writes:
> I have mixed feelings about this patch. I have no concrete objections to
> the technical content, but some questions come to mind. For example, why
> are we only fixing Datum parameters?
Yeah. In particular, probably 99% of such Datum arrays also have an
associated array of bool isnull flags. IMO it makes exactly zero
sense to const-ify the Datums without similar protection for their
isnull flags.
regards, tom lane