Improve pg_set_attribute_stats() error message.
Previously, an invalid attribute name was caught, but the error
message was unhelpful.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/4b096c67e0eed81e287094b9692fff72b9ea3eef
Modified Files
--------------
src/backend/statistics/attribute_stats.c | 10 ++++++++++
src/test/regress/expected/stats_import.out | 23 ++++++++++++++++++++++-
src/test/regress/sql/stats_import.sql | 23 ++++++++++++++++++++++-
3 files changed, 54 insertions(+), 2 deletions(-)