Having access to the
psqlcommand-line tool is essential for any developers or DBAs that are actively working with and connecting to PostgreSQL databases. In our first article, we discussed the brief history of
psqland demonstrated how to install it on your platform of choice and connect to a PostgreSQL database.
In this article we’ll get you up and running with all of the essential things you need to know to start on your journey to becoming a
psqlpower-user. From basic command syntax to the most common (and helpful) meta-commands, it’s all covered throughout the rest of the article.
Also check out the comments for a link to a pager which works with psql.