]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Simplify some log messages in extended_stats_funcs.c
authorMichael Paquier <michael@paquier.xyz>
Tue, 10 Feb 2026 07:59:19 +0000 (16:59 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 10 Feb 2026 07:59:19 +0000 (16:59 +0900)
commitf33c585774223757b01c8eddd134d364492ed94c
tree401d62500e8dcbebeb77e06f0976048592f0f009
parent307447e6dbc035c0e6e7a8ce9cee704a3b710ee9
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 <horikyota.ntt@gmail.com>
Discussion: https://postgr.es/m/20260210.143752.1113524465620875233.horikyota.ntt@gmail.com
src/backend/statistics/extended_stats_funcs.c
src/test/regress/expected/stats_import.out