pgsql: Improve getObjectDescription's display of pg_amop and pg_amproc - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Improve getObjectDescription's display of pg_amop and pg_amproc
Date
Msg-id E1Ph5QV-0007HF-4G@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Devrim GÜNDÜZ
Date:
Subject: Re: pgsql: Suppress uninitialized-variable warning.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix another portability issue in pg_basebackup.