diff options
author | Alexander Korotkov | 2020-07-11 11:14:49 +0000 |
---|---|---|
committer | Alexander Korotkov | 2020-07-13 15:53:20 +0000 |
commit | 8d2ed66e4107ef27d05aef682c68af5952af7690 (patch) | |
tree | 1981afade7535a078da866efa6af2c34ad813ba3 /src/bin/psql/describe.h | |
parent | 2302302236a0c7aeba3377d78dd9d80ba53247df (diff) |
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
Diffstat (limited to 'src/bin/psql/describe.h')
-rw-r--r-- | src/bin/psql/describe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/describe.h b/src/bin/psql/describe.h index 4297f7fdfdf..f0e3ec957c0 100644 --- a/src/bin/psql/describe.h +++ b/src/bin/psql/describe.h @@ -130,7 +130,7 @@ extern bool listOpFamilyOperators(const char *accessMethod_pattern, /* \dAp */ extern bool listOpFamilyFunctions(const char *access_method_pattern, - const char *family_pattern); + const char *family_pattern, bool verbose); #endif /* DESCRIBE_H */ |