PostgreSQL
→ postgresql.org
Getting Started
Local installation
Docker
Tools
pgAdmin
pgAdmin 3
With Docker (see hub.docker.com)
Recipes
Backup / restore
Backup can be done with pgAdmin (personally I prefer plain format to have human readble sql content)
Restore can be done with Docker:
cat D:\Temp\dump.sql | docker exec -i postgres966 psql -U postgres
(you may have to add the missing roles entries, which are not exported such asCREATE ROLE mycompany SUPERUSER;
)
Queries
SQL
Update a user password
Get all databases
Get all tables
Get all columns of a table
Last updated