]> 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:44 +0000 (12:55 -0400)
commitbaef6e5e9397327e7387f75d903bcf290fd7b3e4
tree8dd007dc876f501f0289bfe86e844569ea187fe1
parent75e44b471c511bc2aec0e869ab0d23d249890734
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