From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: CREATE STATISTICS: improve misleading error message |
Date: | 2025-08-29 12:44:26 |
Message-ID: | E1urySv-002E98-1a@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
CREATE STATISTICS: improve misleading error message
I think the error message for a different condition was inadvertently
copied.
This problem seems to have been introduced by commit a4d75c86bf15.
Author: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Reported-by: jian he <jian(dot)universality(at)gmail(dot)com>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Backpatch-through: 14
Discussion: https://postgr.es/m/CACJufxEZ48toGH0Em_6vdsT57Y3L8pLF=DZCQ_gCii6=C3MeXw@mail.gmail.com
Branch
------
REL_16_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/d84a6c3dad1f867275ed7547c8ae6e120292f94c
Modified Files
--------------
src/backend/tcop/utility.c | 3 ++-
src/test/regress/expected/stats_ext.out | 23 +++++++++++++++++++++++
src/test/regress/sql/stats_ext.sql | 11 +++++++++++
3 files changed, 36 insertions(+), 1 deletion(-)
From | Date | Subject | |
---|---|---|---|
Next Message | David Rowley | 2025-08-29 12:51:29 | pgsql: Fix possible use after free in expand_partitioned_rtentry() |
Previous Message | Daniel Gustafsson | 2025-08-29 11:12:06 | pgsql: Fix typo in isolation test spec |