dwyl / learn-postgresql

🐘 Learn how to use PostgreSQL and Structured Query Language (SQL) to store and query your relational data. 🔍
212 stars 23 forks source link

Updated roles instructions #37

Closed tbtommyb closed 7 years ago

tbtommyb commented 7 years ago

Fixes #36

Postgres.app by default creates a role and database matching the user account name (see here), so it is not required to change the shell user before running psql.

I have amended the Ubuntu instructions to manually create the role and database so that the final outcome is consistent on both Ubuntu and macOS.