pgsql: Improve pg_set_attribute_stats() error message.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve pg_set_attribute_stats() error message.
Date: 2024-10-23 23:19:21
Message-ID: E1t3kdO-00291L-18@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-10-24 00:31:05 pgsql: Track more precisely query locations for nested statements
Previous Message Masahiko Sawada 2024-10-23 22:37:16 pgsql: Fix typo in tidstore.h.