Обсуждение: improving \dt++ in psql
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
Filip Rembiałkowski <filip.rembialkowski@gmail.com> writes: > 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 No, it never has done so AFAIK. > Can't we have higher levels of "verbosiness"? I think that for most commands, two levels of verbosity are already complicating the code in describe.c about as much as it can stand :-( Things like the infrastructure to mark particular columns as translatable would really need some significant work if we want to adopt multiple pluses as a standard design element. regards, tom lane