hello
I wrote patch for PostgreSQL 9.1 and 9.2 that adds more linestyles andborder styles to console
http://postgres.cz/wiki/Pretty_borders_in_psql
Regards
Pavel Stehule