# Toolbox

Here a list of useful PostgreSQL tools.

Note Name Description
age PostgreSQL graph database extension
barman Backup and disaster recovery
★★★ citus Distributed database extension
data models examples (opens new window) A Guide to Structuring Information for Optimal Insights and Decision-Making
★★★ epgsql Erlang PostgreSQL client
libpg_query (opens new window) C PostgreSQL parser
pg_idkit Extension to generate UUID
pg_partman Partition extension
pg_task Job scheduler
★★★ pgbackrest Backup extension
★★★ pgclimb Export data from PostgreSQL into different data formats
pgcmp (opens new window) Comparing Postgres database schemas
pgloader Multi loader and converter tool
pgmigrate (opens new window) Tool to evolve PostgreSQL schema
pgmodeler (opens new window) Data modeling tool designed for PostgreSQL
pgmp Erlang/OTP 25+ PostgreSQL client
★★★ pgpq Generic Queue for PostgreSQL
pgsql Erlang PostgreSQL driver
pgsql-listen-exchange (opens new window) RabbitMQ Exchange that publishes messages received from PostgreSQL Notifications
pgunit (opens new window) Unit test framework for Postgresql
pgtap Unit testing framework
plpgsql_check plpgsql linter and static analyzer tool
★★★ postgrest Standalone web server
★★★ sqitch Agnostic database change management
sqldef Agnostic database diffing SQL schema
sqldesigner (opens new window) Online SQL diagram tool
★★ temporal_tables Temporal tables extension and support
★★★ timescaledb Time-series database extension
zombodb Powerful text-search and analytics features to Postgres

# FAQ

# How to "pretty-print" the output?

\x

https://serverfault.com/questions/34741/postgres-equivalent-to-mysqls-g (opens new window)

# How to create hashed password for PostgreSQL?

CREATE EXTENSION pgcrypto;
SELECT crypt('mypass', gen_salt('bf');

https://www.postgresql.org/docs/13/pgcrypto.html (opens new window)

https://github.com/supercaracal/scram-sha-256 (opens new window)

# How to program with plpgsql?

https://www.postgresql.org/docs/current/plpgsql.html (opens new window)

# What kind of variables are supported by PostgreSQL?

Environment Variables # (opens new window)

# References and Resources

PostgreSQL Official Website (opens new window)

PostgreSQL Official Documentation (opens new window)

PostgreSQL Source code Documentation (opens new window)

PostgreSQL Mirror Repository (opens new window)

Performance Tips (opens new window)

Planet PostgreSQL (opens new window)

pglister (opens new window): mailing-list powered by postgresql

Some Postgres Best Practices (opens new window)

Security Best Practices for PostgreSQL - EnterpriseDB (opens new window)

Ideas on better database design (opens new window)

The "Database as Code" Manifesto (opens new window)

pigsty (opens new window): PostgreSQL in Great STYle, Battery-Included Free RDS Alternative!

postgresDBSamples (opens new window): Sample databases for postgres

How to use PostgreSQL like a message queue (opens new window)

# Tuning PostgreSQL for High Write Workloads

# Using PostgreSQL in a Small Business - Preston Hagar

# PostgresOpen 2019 PostgreSQL Extensions A Deeper Dive