]> granicus.if.org Git - postgresql/commit
Fix psql's \dC command to annotate I/O conversion casts as such.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 31 Aug 2018 20:45:33 +0000 (16:45 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 31 Aug 2018 20:45:33 +0000 (16:45 -0400)
commited9c336b0f6bcf08e7b6bbe7080fdb63640a680e
tree4ef4c322656c9315549792b8aa0124d39a7c2b7c
parentc34f8078aa354a9c352b6db488ca1d5aac39560c
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
src/bin/psql/describe.c