pgsql: CREATE STATISTICS: improve misleading error message
pgsql: CREATE STATISTICS: improve misleading error message
От:
Álvaro Herrera <alvherre@kurilemu.de>
Дата:
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 Reported-by: jian he Reviewed-by: Tom Lane Backpatch-through: 14 Discussion: https://postgr.es/m/CACJufxEZ48toGH0Em_6vdsT57Y3L8pLF=DZCQ_gCii6=C3MeXw@mail.gmail.com Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/b830f9d67463f770e7c92ac989112c90c1f28dbf 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(-)