Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lifeparticle/PostgreSql-Snippets
⌗ Learn PostgreSql.
https://github.com/lifeparticle/PostgreSql-Snippets
database docker pgadmin4 postgres postgresql
Last synced: 6 days ago
JSON representation
⌗ Learn PostgreSql.
- Host: GitHub
- URL: https://github.com/lifeparticle/PostgreSql-Snippets
- Owner: lifeparticle
- License: mit
- Created: 2020-12-29T04:59:13.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-04T09:31:35.000Z (almost 2 years ago)
- Last Synced: 2024-08-01T10:19:18.919Z (3 months ago)
- Topics: database, docker, pgadmin4, postgres, postgresql
- Homepage:
- Size: 17.6 KB
- Stars: 19
- Watchers: 3
- Forks: 43
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PostgreSql-Snippets
[How to Run PostgreSQL Using Docker](https://towardsdatascience.com/how-to-run-postgresql-using-docker-15bf87b452d4)
[How to Connect to a PostgreSQL Database With a Python Serverless Function](https://towardsdatascience.com/how-to-connect-to-a-postgresql-database-with-a-python-serverless-function-f5f3b244475)
[How to Connect to a Heroku Postgres Database With pgAdmin Using Docker](https://towardsdatascience.com/how-to-connect-to-a-heroku-postgres-database-with-pgadmin4-using-docker-6ac1e423ae66)
[How to Run PostgreSQL and pgAdmin Using Docker](https://towardsdatascience.com/how-to-run-postgresql-and-pgadmin-using-docker-3a6a8ae918b5)
```sql
brew services restart postgresql@14psql postgres
# List of Roles
\du# List of databases
\lCREATE DATABASE DB_NAME;
# Select the db
\c DB_NAME# Show tables
\dt# Quit
\q
```