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 <[email protected]> Reported-by: jian he <[email protected]> Reviewed-by: Tom Lane <[email protected]> Backpatch-through: 14 Discussion: https://postgr.es/m/CACJufxEZ48toGH0Em_6vdsT57Y3L8pLF=DZCQ_gCii6=c3m...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/f225473cbae2cca5e1fde376aa4217a6b3a3f770 Modified Files -------------- src/backend/tcop/utility.c | 3 ++- src/test/regress/expected/stats_ext.out | 26 ++++++++++++++++++++++++++ src/test/regress/sql/stats_ext.sql | 12 ++++++++++++ 3 files changed, 40 insertions(+), 1 deletion(-)
