Thread: pgsql: Fix misleading error message about inconsistent moving-aggregate

pgsql: Fix misleading error message about inconsistent moving-aggregate

From
Tom Lane
Date:
Fix misleading error message about inconsistent moving-aggregate types.

We reported the wrong types when complaining that an aggregate's
moving-aggregate implementation is inconsistent with its regular
implementation.

This was wrong since the feature was introduced, so back-patch
to all supported branches.

Jeff Janes

Discussion: https://postgr.es/m/CAMkU=1x808LH=LPhZp9mNSP0Xd1xDqEd+XeGcvEe48dfE6xV=A@mail.gmail.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/baef6e5e9397327e7387f75d903bcf290fd7b3e4

Modified Files
--------------
src/backend/catalog/pg_aggregate.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)