Re: moving aggregate bad error message

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-09-06T16:41:41Z
Lists: pgsql-hackers
Jeff Janes <jeff.janes@gmail.com> writes:
> Looking at the code, it seems we are testing rettype != finaltype, but
> reporting aggmTransType and aggTransType.  Why aren't we reporting what we
> are testing?

Silly thinko, apparently.  Your fix looks right, will push.

			regards, tom lane



Commits

  1. Fix misleading error message about inconsistent moving-aggregate types.