pgsql: Improve pg_set_attribute_stats() error message. - Mailing list pgsql-committers

From Jeff Davis
Subject pgsql: Improve pg_set_attribute_stats() error message.
Date
Msg-id E1t3kdO-00291L-18@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Masahiko Sawada
Date:
Subject: pgsql: Fix typo in tidstore.h.
Next
From: Michael Paquier
Date:
Subject: pgsql: Track more precisely query locations for nested statements