1. 6
  1.  

  2. 3

    The same author also wrote pgcli, if you prefer PostgreSQL.