Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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@14

psql postgres

# List of Roles
\du

# List of databases
\l

CREATE DATABASE DB_NAME;

# Select the db
\c DB_NAME

# Show tables
\dt

# Quit
\q
```