Improvements to psql \dAo and \dAp commands
Alexander Korotkov <akorotkov@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/command.c | modified | +1 −1 |
| src/bin/psql/describe.c | modified | +46 −47 |
| src/bin/psql/describe.h | modified | +1 −1 |
| src/test/regress/expected/psql.out | modified | +49 −49 |
| src/test/regress/sql/psql.sql | modified | +1 −1 |
Discussion
- output columns of \dAo and \dAp 12 messages · 2020-06-06 → 2020-07-13