psql: Fix name quoting on extended statistics
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 30 Aug 2021 18:01:29 +0000 (14:01 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 30 Aug 2021 18:01:29 +0000 (14:01 -0400)
commitce6b662aae7abc8b533b0cfa8fff50a9001508b1
tree292e393ec0b9c068aa2a803b9d5ad6d9b78e23d7
parentefe2382d5ade2c8d63f2aa1b48cc85691a2bfabd
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
src/bin/psql/describe.c
src/test/regress/expected/create_table_like.out
src/test/regress/expected/stats_ext.out