/postgres_101

Learn you some Postgres

Primary LanguageShell

Postgres 101

Full Install Instructions

Replicate Brett's Setup for OSX

  1. Download Postgres.app

  2. You should already have a user installed under your username. You can test by:

% psql
psql (9.4.5)
Type "help" for help.

brettcassette=# \du
                               List of roles
   Role name   |                   Attributes                   | Member of
---------------+------------------------------------------------+-----------
 brettcassette | Superuser, Create role, Create DB, Replication | {}
  1. Create a test database for fooling around with
createdb postgres_101
  1. Download SQL Pro for Postgres

  2. In SQL Pro, configure a new connection:

Alias: Postgres 101
Server Host: 127.0.0.1
Login: your-username
Password: probably-blank
Server Port: 5432
Database: postgres_101
  1. Login to your database in SQL Pro. You're ready to start!