Improve getObjectDescription's display of pg_amop and pg_amproc entries.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 23 Jan 2011 19:13:46 +0000 (14:13 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 23 Jan 2011 19:13:46 +0000 (14:13 -0500)
commitdd5f0db96ba68553e3ab2c1d9d117863a5637c67
tree5bced60e0ca9ef9e7ccb8aa45e0e9e51a769ad77
parentde3c2d6e928b0f7fb2840914351b96fecce2a30d
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
src/backend/catalog/dependency.c