]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix misleading error message about inconsistent moving-aggregate types.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 6 Sep 2020 16:55:13 +0000 (12:55 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 6 Sep 2020 16:55:59 +0000 (12:55 -0400)
commit2939f613fa91f12b43d51eb8c4e595d5164e5254
tree969a2673062f3eabad3d9f3796fba8f23facc73e
parent1f8c163c5acdef34dff14615337332cecc21d70b
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
src/backend/catalog/pg_aggregate.c