pgsql: Fix misleading error message about inconsistent moving-aggregate

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix misleading error message about inconsistent moving-aggregate
Date: 2020-09-06 16:56:43
Message-ID: E1kExy7-0002Fa-1i@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_12_STABLE

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2020-09-06 17:27:46 pgsql: Fix typo in comment
Previous Message Tom Lane 2020-09-06 15:51:00 pgsql: Remove useless lstat() call in pg_rewind.