pgsql: Improve getObjectDescription's display of pg_amop and pg_amproc

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve getObjectDescription's display of pg_amop and pg_amproc
Date: 2011-01-23 19:16:39
Message-ID: E1Ph5QV-0007HF-4G@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-01-23 19:27:31 pgsql: Fix another portability issue in pg_basebackup.
Previous Message Magnus Hagander 2011-01-23 18:51:14 Re: [COMMITTERS] pgsql: Only show pg_stat_replication details to superusers