Postgres Command Line Query String Html