Hacker News new | ask | show | jobs
by nabla9 2085 days ago
From command line use

     psql -H 
Alternatively

     \pset format html
1 comments

Again, feature of CLI tool not postgresql.