pgsql: Fix misleading error message about inconsistent moving-aggregate - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix misleading error message about inconsistent moving-aggregate
Date
Msg-id E1kExy7-0002Ff-2V@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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_10_STABLE

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

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Remove useless lstat() call in pg_rewind.
Next
From: Magnus Hagander
Date:
Subject: pgsql: Fix typo in comment