Postgres by Example

thenewedrock 46 points 6 comments June 10, 2026
github.com · View on Hacker News

Discussion Highlights (4 comments)

p2detar

I'd also recommend Tobias Petry's books which feature MySQL and Postgres examples. Really easy to read. https://sqlfordevs.com/books+courses

xerox13ster

This is from the same org behind that AI generated Zig by Example repo the other day. Hard pass.

fabian2k

Appears a bit too superficial to me to be useful. It groups topics very weirdly (bool and timestamp, uuid and JSONB) and there is almost no detail in each topic. Explaining text column types without mentioning limiting length with constraints instead of using varchar also seems a bit questionable to me.

sureglymop

Seems more like basic SQL by example. And then, I highly recommend not approaching it like that because then you miss the whole relational algebra...

Semantic search powered by Rivestack pgvector
10,094 stories · 94,891 chunks indexed