Fix misleading error message about inconsistent moving-aggregate types.

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

Commit: f71b93b8646b2c85a62415ea54e0a7fbadd339a6
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2020-09-06T16:55:51Z
Releases: 10.15
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

Files

PathChange+/−
src/backend/catalog/pg_aggregate.c modified +2 −2

Discussion