1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-07 19:06:32 +03:00

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
This commit is contained in:
Alexander Korotkov
2020-07-11 14:14:49 +03:00
parent 2302302236
commit 8d2ed66e41
5 changed files with 98 additions and 99 deletions

View File

@@ -1205,5 +1205,5 @@ drop role regress_partitioning_role;
\dAf btree int4
\dAo+ btree float_ops
\dAo * pg_catalog.jsonb_path_ops
\dAp btree float_ops
\dAp+ btree float_ops
\dAp * pg_catalog.uuid_ops