CREATE STATISTICS: improve misleading error message
Peter Eisentraut <peter@eisentraut.org>
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@sss.pgh.pa.us> Discussion: https://postgr.es/m/CACJufxEZ48toGH0Em_6vdsT57Y3L8pLF=DZCQ_gCii6=C3MeXw@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/tcop/utility.c | modified | +1 −2 |
| src/test/regress/expected/stats_ext.out | modified | +7 −14 |
Discussion
- misleading error message in ProcessUtilitySlow T_CreateStatsStmt 33 messages · 2025-08-21 → 2026-05-15