public inbox for [email protected]  
help / color / mirror / Atom feed
From: Michael Paquier <[email protected]>
To: [email protected]
Subject: pgsql: Simplify some log messages in extended_stats_funcs.c
Date: Tue, 10 Feb 2026 07:59:31 +0000
Message-ID: <[email protected]> (raw)

Simplify some log messages in extended_stats_funcs.c

The log messages used in this file applied too much quoting logic:
- No need for quote_identifier(), which is fine to not use in the
context of a log entry.
- The usual project style is to group the namespace and object together
in a quoted string, when mentioned in an log message.  This code quoted
the namespace name and the extended statistics object name separately,
which was confusing.

Reported-by: Kyotaro Horiguchi <[email protected]>
Discussion: https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f33c585774223757b01c8eddd134d364492ed94c

Modified Files
--------------
src/backend/statistics/extended_stats_funcs.c | 32 +++++++++++----------------
src/test/regress/expected/stats_import.out    | 14 ++++++------
2 files changed, 20 insertions(+), 26 deletions(-)



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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: Simplify some log messages in extended_stats_funcs.c
  In-Reply-To: <[email protected]>

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

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