psql is the command line interface for PostgreSQL that enables you to type in queries interactively, issue them to PostgreSQL, and see the query results.

This story continues at http://www.databasejournal.com/news/article.php/3696276