improving \dt++ in psql - Mailing list pgsql-hackers

From Filip Rembiałkowski
Subject improving \dt++ in psql
Date
Msg-id CAP_rwwmBt_hKOYiw7b6OjZitGRhWuGmPq6OtD=NY4BTSDxhOBQ@mail.gmail.com
Whole thread Raw
Responses Re: improving \dt++ in psql  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi


I tried to start writing a patch to add "Total Size" column to \dt++ output.

in src/bin/psql/describe.c we have this

listTables(
const char *tabtypes,
const char *pattern,bool verbose,bool showSystem)


I was (as a long time Pg user) dead sure that psql really sometimes
cares about the number of plus signs that you add to meta-command

So why this particular function interface has boolean "verbose" parameter?

Can't we have higher levels of "verbosiness"?


thanks,
Filip



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Fix initdb for path with whitespace and at char
Next
From: Greg Stark
Date:
Subject: Why do we allow indexes to contain the same column more than once?