On Tue, Oct 06, 2020 at 09:56:49PM -0400, Tom Lane wrote:
> Noah Misch <noah@leadboat.com> writes:
> > On Mon, Oct 05, 2020 at 08:42:15PM -0400, Tom Lane wrote:
> >> hornet has failed its last five runs with
> >> TRAP: FailedAssertion("variadicArgType != InvalidOid", File: "pg_aggregate.c", Line: 216, PID: 34734498)
>
> > Building the tree with -O0 suppresses the problem. (xlc does not have -O1.)
>
> OK, that's pretty unsurprising.
>
> > Building just aggregatecmds.c and pg_aggregate.c that way does not, so I
> > suppose the damage arose elsewhere.
>
> Now that *is* surprising. Could you poke a little further to determine
> which module is getting miscompiled? (gram.o seems like the next most
> likely bet.)
gram.o was it. (The way I rebuilt gram.o also rebuilt parser.o and scan.o,
but those seem far less likely.)