pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improvements to psql \dAo and \dAp commands
Date: Mon, 13 Jul 2020 15:57:51 +0000
Message-ID: <E1jv0pz-0002r8-Bk@gemulon.postgresql.org> (raw)

Improvements to psql \dAo and \dAp commands

 * Strategy number and purpose are essential information for opfamily operator.
   So, show those columns in non-verbose output.
 * "Left/right arg type" \dAp column names are confusing, because those type
   don't necessary match to function arguments.  Rename them to "Registered
   left/right type".
 * Replace manual assembling of operator/procedure names with casts to
   regoperator/regprocedure.
 * Add schema-qualification for pg_catalog functions and tables.

Reported-by: Peter Eisentraut, Tom Lane
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/2edc7b27-031f-b2b6-0db2-864241c91cb9%402ndquadrant.com
Backpatch-through: 13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8d2ed66e4107ef27d05aef682c68af5952af7690

Modified Files
--------------
src/bin/psql/command.c             |  2 +-
src/bin/psql/describe.c            | 93 ++++++++++++++++++------------------
src/bin/psql/describe.h            |  2 +-
src/test/regress/expected/psql.out | 98 +++++++++++++++++++-------------------
src/test/regress/sql/psql.sql      |  2 +-
5 files changed, 98 insertions(+), 99 deletions(-)



view thread (5+ messages)  latest in thread

Message-ID: <E1jv0pz-0002r8-Bk@gemulon.postgresql.org>
Permalink:  ../E1jv0pz-0002r8-Bk@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jv0pz-0002r8-Bk@gemulon.postgresql.org

 · 

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 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: Improvements to psql \dAo and \dAp commands
  In-Reply-To: <E1jv0pz-0002r8-Bk@gemulon.postgresql.org>
  References: <E1jv0pz-0002r8-Bk@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