11 PostgreSQL documentation alternatives

Other databases & sql tools, in our recommended order. About PostgreSQL documentation →

Entity Framework Core

The default data layer for most .NET apps
Free

Microsoft's ORM for .NET. Map C# classes to tables, query with LINQ, and manage schema changes with migrations. Works with SQL Server, PostgreSQL (via Npgsql), SQLite and others.

Dapper

Hand-written SQL without boilerplate
Free

Lightweight object mapper: you write the SQL, Dapper maps the rows to C# objects. Very little overhead, which is why it's often used next to EF Core for performance-critical queries.

SQLite

A database with zero setup
Free

A small, serverless SQL database stored in one file. Good for learning SQL, tests, local tools and many small production apps.

sqlc

Type-safe SQL without an ORM
Free

Write SQL queries in .sql files and sqlc generates type-safe Go code for them. Supports PostgreSQL, MySQL and SQLite.

Go module
Visit ↗

PostgreSQL Tutorial (official)

Learning PostgreSQL from the source
Free

The tutorial section of the official PostgreSQL documentation: creating tables, querying, joins, transactions and more, explained by the people who build it.

SQLBolt

Learning SQL from zero
Free

Free interactive SQL lessons in the browser: each lesson explains one idea, such as joins or aggregates, then has exercises you run against a small database.

PostgreSQL Exercises

Practising SQL past the basics
Free

Free SQL practice problems on a sample club-booking database, from simple selects to window functions and recursive queries, run against real PostgreSQL.

Use The Index, Luke

Understanding indexes and slow queries
Free

Free online book by Markus Winand on SQL indexing and performance for developers, covering PostgreSQL, MySQL, SQL Server and Oracle.

WebEbook
Visit ↗

DBeaver Community

One client for every database
Free

Free open-source database client that connects to PostgreSQL, MySQL, SQL Server, SQLite and many more, with a SQL editor, data browser and ER diagrams.

WindowsmacOSLinux
Visit ↗

dbdiagram.io

Sketching a schema quickly
Free + paid options

Draw database schemas by writing a simple text format (DBML); it renders the diagram and can export SQL.

Designing Data-Intensive Applications

Understanding distributed systems deeply
Paid

Book by Martin Kleppmann (O'Reilly) on how databases, replication, partitioning, streams and distributed systems work, and how they trade off.

BookEbook
Visit ↗