Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## terminal [plaintext]
- motion=# \l
- List of databases
- Name | Owner | Encoding
- -------------+----------+-----------
- mephisto | motion | SQL_ASCII
- motion | motion | SQL_ASCII
- shadmin | shadmin | SQL_ASCII
- shadmin_dev | shadmin | SQL_ASCII
- template0 | postgres | SQL_ASCII
- template1 | postgres | SQL_ASCII
- typo | motion | SQL_ASCII
- (7 rows)
- motion=# create database shadmin_test with owner shadmin;
- CREATE DATABASE
- motion=# \l
- List of databases
- Name | Owner | Encoding
- --------------+----------+-----------
- mephisto | motion | SQL_ASCII
- motion | motion | SQL_ASCII
- shadmin | shadmin | SQL_ASCII
- shadmin_dev | shadmin | SQL_ASCII
- shadmin_test | shadmin | SQL_ASCII
- template0 | postgres | SQL_ASCII
- template1 | postgres | SQL_ASCII
- typo | motion | SQL_ASCII
- (8 rows)
- ## rake test:units [plaintext]
- motion@dream ~/src/shadmin $ rake test:units
- (in /home/motion/src/shadmin)
- createdb: database creation failed: ERROR: permission denied to create database
- rake aborted!
- FATAL: database "shadmin_test" does not exist
- (See full trace by running task with --trace)
- ## and terminal again [plaintext]
- motion=# \l
- List of databases
- Name | Owner | Encoding
- -------------+----------+-----------
- mephisto | motion | SQL_ASCII
- motion | motion | SQL_ASCII
- shadmin | shadmin | SQL_ASCII
- shadmin_dev | shadmin | SQL_ASCII
- template0 | postgres | SQL_ASCII
- template1 | postgres | SQL_ASCII
- typo | motion | SQL_ASCII
- (7 rows)
Add Comment
Please, Sign In to add comment