Guest User

Untitled

a guest
Jun 4th, 2020
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. psql
  2. psql (11.7 (Debian 11.7-0+deb10u1))
  3. Type "help" for help.
  4.  
  5. postgres=# create database "tire-dash-!name$";
  6. CREATE DATABASE
  7. postgres=# \dl+
  8. Large objects
  9. ID | Owner | Description
  10. ----+-------+-------------
  11. (0 rows)
  12.  
  13. postgres=# \l
  14. List of databases
  15. Name | Owner | Encoding | Collate | Ctype | Access privileges
  16. ------------------+----------+----------+-------------+-------------+-----------------------
  17. postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
  18. template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
  19. | | | | | postgres=CTc/postgres
  20. template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
  21. | | | | | postgres=CTc/postgres
  22. tire-dash-!name$ | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
  23. (4 rows)
  24.  
  25. postgres=# drop database "tire-dash-!name$";
  26. DROP DATABASE
  27. postgres=# commit;
  28. WARNING: there is no transaction in progress
  29. COMMIT
  30. postgres=# \q
Advertisement
Add Comment
Please, Sign In to add comment