]> 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:28 +0000 (12:55 -0400)
commitf04203ab7e683bc3e961a40b002cf3c8d1d12100
tree271e29b693c3840c1067aeb8e6496ab917a0e1da
parente7f06ea60a3c07128176b294ce3fb0555edd15a5
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