pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve pg_set_attribute_stats() error message.
Date: Wed, 23 Oct 2024 23:19:21 +0000
Message-ID: <E1t3kdO-00291L-18@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1t3kdO-00291L-18@gemulon.postgresql.org>
Permalink:  ../E1t3kdO-00291L-18@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1t3kdO-00291L-18@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: jdavis@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Improve pg_set_attribute_stats() error message.
  In-Reply-To: <E1t3kdO-00291L-18@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox