pgsql: Fix translate_columns[] arrays in opfamily-related psql function

From: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix translate_columns[] arrays in opfamily-related psql function
Date: 2020-05-17 09:59:11
Message-ID: E1jaG4d-00062U-6N@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix translate_columns[] arrays in opfamily-related psql functions

Make number of translate_columns elements match the number of output columns.
The only "true" value, which was previously specified, seems to be intended
for opfamily operator "purpose" column. But that column has already translated
values substituted. So, all elements in translate_columns[] should be "false".

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/29b6ddd38d0914340c3c4bb4bb4bd5c4a3c02dca

Modified Files
--------------
src/bin/psql/describe.c | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2020-05-17 10:05:27 pgsql: Cosmetic improvement for psql opfamily-related information
Previous Message Alexander Korotkov 2020-05-17 09:47:27 Re: pgsql: Show opclass and opfamily related information in psql