OSDN Git Service

psql's \d command wasn't doing the right things with 'char' (type 18)
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 26 Feb 2000 18:31:25 +0000 (18:31 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 26 Feb 2000 18:31:25 +0000 (18:31 +0000)
commitcbf4c9671ed01c769c6d6abb29fe082437373c33
treec4f0dad48e450284b7d921f724b8e268ade4ceb0
parent6f11af0c62ac66e0878bd0a6eae637c427355c69
psql's \d command wasn't doing the right things with 'char' (type 18)
fields, nor with bpchar and varchar fields that have typmod -1.  The
latter effectively have an unspecified length, so I made them display
as char() and varchar() rather than falsely equating them to char(1)
and varchar(1).
src/bin/psql/describe.c