pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix psql's \dC command to annotate I/O conversion casts as such.
Date: Fri, 31 Aug 2018 20:45:44 +0000
Message-ID: <E1fvqIa-0004Un-Ob@gemulon.postgresql.org> (raw)

Fix psql's \dC command to annotate I/O conversion casts as such.

A cast declared WITH INOUT was described as '(binary coercible)',
which seems pretty inaccurate; let's print '(with inout)' instead.
Per complaint from Jean-Pierre Pelletier.

This definitely seems like a bug fix, but given that it's been wrong
since 8.4 and nobody complained before, I'm hesitant to back-patch a
behavior change into stable branches.  It doesn't seem too late for
v11 though.

Discussion: https://postgr.es/m/5b887023.1c69fb81.ff96e.6a1d@mx.google.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/115bf1e79af0114c18d7d5675f4ba7e8bd6e11e9

Modified Files
--------------
src/bin/psql/describe.c | 56 +++++++++++++++++++++++++++++++++----------------
1 file changed, 38 insertions(+), 18 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1fvqIa-0004Un-Ob@gemulon.postgresql.org>
Permalink:  ../E1fvqIa-0004Un-Ob@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fvqIa-0004Un-Ob@gemulon.postgresql.org

 · 

reply

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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fix psql's \dC command to annotate I/O conversion casts as such.
  In-Reply-To: <E1fvqIa-0004Un-Ob@gemulon.postgresql.org>
  References: <E1fvqIa-0004Un-Ob@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