pgsql: psql: Fix name quoting on extended statistics

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: psql: Fix name quoting on extended statistics
Date: 2021-08-30 18:02:11
Message-ID: E1mKlbn-0002D6-DI@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

psql: Fix name quoting on extended statistics

Per our message style guidelines, for human consumption we quote
qualified names as a whole rather than each part separately; but commits
bc085205c8a4 introduced a deviation for extended statistics and
a4d75c86bf15 copied it. I don't agree with this policy applying to
names shown by psql, but that's a poor reason to deviate from the
practice only in two obscure corners, so make said corners use the same
style as everywhere else.

Backpatch to 14. The first of these is older, but I'm not sure we want
to destabilize the psql output in the older branches for such a small
thing.

Discussion: https://postgr.es/m/20210828181618.GS26465@telsasoft.com

Branch
------
REL_14_STABLE

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

Modified Files
--------------
src/bin/psql/describe.c | 4 ++--
src/test/regress/expected/create_table_like.out | 12 ++++++------
src/test/regress/expected/stats_ext.out | 6 +++---
3 files changed, 11 insertions(+), 11 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2021-08-30 20:31:19 pgsql: Report tuple address in data-corruption error message
Previous Message Robert Haas 2021-08-30 14:19:55 Re: pgsql: Avoid using ambiguous word "positive" in error message.