Improve pg_set_attribute_stats() error message.
Jeff Davis <jdavis@postgresql.org>
Improve pg_set_attribute_stats() error message. Previously, an invalid attribute name was caught, but the error message was unhelpful.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/statistics/attribute_stats.c | modified | +10 −0 |
| src/test/regress/expected/stats_import.out | modified | +22 −1 |
| src/test/regress/sql/stats_import.sql | modified | +22 −1 |