From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: CREATE STATISTICS: improve misleading error message |
Date: | 2025-09-15 10:15:14 |
Message-ID: | E1uy6Er-000oc8-35@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
CREATE STATISTICS: improve misleading error message
The previous change (commit f225473cbae) was still not on target,
because it talked about relation kinds, which are not what is being
checked here. Provide a more accurate message.
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/CACJufxEZ48toGH0Em_6vdsT57Y3L8pLF=DZCQ_gCii6=C3MeXw@mail.gmail.com
Branch
------
REL_18_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/38883916e41c5d3f3367b221b37838c3999227e2
Modified Files
--------------
src/backend/tcop/utility.c | 3 +--
src/test/regress/expected/stats_ext.out | 21 +++++++--------------
2 files changed, 8 insertions(+), 16 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2025-09-15 14:33:21 | pgsql: Expand virtual generated columns in constraint expressions |
Previous Message | Peter Eisentraut | 2025-09-15 09:05:19 | pgsql: Remove workarounds against repeat typedefs |