From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix translate_columns[] arrays in opfamily-related psql function
Date: Sun, 17 May 2020 09:59:11 +0000
Message-ID: <E1jaG4d-00062U-6N@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: akorotkov@postgresql.org
Subject: Re: pgsql: Fix translate_columns[] arrays in opfamily-related psql function
In-Reply-To: <E1jaG4d-00062U-6N@gemulon.postgresql.org>
References: <E1jaG4d-00062U-6N@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox