Loading topic
psql client sends commands to the server.2 min read5432 and the postgres role.2 min readpsql. It also assumes you can connect to a maintenance database such as postgres.2 min readfirstdb database with psql. You should also understand that a database stores related data in tables.2 min readpsql, and the firstdb database contains the books table from the previous chapter:2 min readfirstdb database with psql. This chapter also assumes that the books table from the previous chapter exists and contains sample rows.2 min readbooks table already exists and contains the sample rows from the previous chapter. You should be comfortable running SQL statements in psql, reading a table definition, and inserting data.2 min readfirstdb database with psql. It also assumes that the books table from the previous chapter exists.2 min readpsql, and already created the books table from the earlier chapter. The table contains id, title, author, and published_year columns.1 min readpsql. A PostgreSQL connection needs four main values:2 min readfirstdb containing a table named books. You should also know how to start psql, switch databases, and run SQL statements.2 min read