From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve ordering for \dAo and \dAp psql commands
Date: Sun, 17 May 2020 09:46:28 +0000
Message-ID: <E1jaFsK-0005xX-M1@gemulon.postgresql.org> (raw)
Improve ordering for \dAo and \dAp psql commands
This commit changes ORDER BY clause for \dAo and \dAp psql commands in
the following way.
* Operators for the same types are grouped together.
* Same-class operators and procedures are listed before cross-class operators
and procedures.
Modification of ORDER BY clause for \dAp required removing DISTINCT clause,
which doesn't seem to affect anything.
Discussion: https://postgr.es/m/20200511210856.GA18368%40alvherre.pgsql
Author: Alvaro Herrera revised by me
Reviewed-by: Alexander Korotkov, Nikita Glukhov
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/b1953e67e4c481f8d3844dcdd8fdd4054d7e7604
Modified Files
--------------
src/bin/psql/describe.c | 13 ++++++---
src/test/regress/expected/psql.out | 57 +++++++++++++++++++++++++-------------
src/test/regress/sql/psql.sql | 4 +--
3 files changed, 49 insertions(+), 25 deletions(-)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: akorotkov@postgresql.org
Subject: Re: pgsql: Improve ordering for \dAo and \dAp psql commands
In-Reply-To: <E1jaFsK-0005xX-M1@gemulon.postgresql.org>
References: <E1jaFsK-0005xX-M1@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