Thread: pgsql: Improve getObjectDescription's display of pg_amop and pg_amproc

pgsql: Improve getObjectDescription's display of pg_amop and pg_amproc

From
Tom Lane
Date:
Improve getObjectDescription's display of pg_amop and pg_amproc entries.

Include the lefttype/righttype columns explicitly (instead of assuming
the reader can deduce them from the operator or function description),
and move the operator or function description to the end of the string,
to make it clearer that it's a referenced object and not the amop or
amproc item itself.  Per extensive discussion of Andreas Karlsson's
original patch.

Andreas Karlsson, Tom Lane

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=dd5f0db96ba68553e3ab2c1d9d117863a5637c67

Modified Files
--------------
src/backend/catalog/dependency.c |   30 +++++++++++++++++++-----------
1 files changed, 19 insertions(+), 11 deletions(-)