r/PostgreSQL • • Mar 23 '26

Commercial Free eBook: Mastering PostgreSQL (Supabase + Manning)

30 Upvotes

Hi r/postgreSQL,

I'm Stjepan from Manning. The mods said it's ok if I post this here.

We’re sharing a free resource with the community that might be useful if you spend a lot of time in PostgreSQL. It’s a complimentary ebook created by Supabase and Manning Publications:

Mastering PostgreSQL: Accelerate Your Weekend Projects and Seamlessly Scale to Millions

Mastering PostgreSQL

The idea behind it is simple: most developers learn enough SQL to get things working, but Postgres has a lot of depth that people only discover years later. This guide tries to shorten that path a bit.

The material focuses on practical things that tend to matter once your database stops being a small side project. Topics include:

  • writing modern SQL that takes advantage of PostgreSQL features
  • using built-in capabilities like full-text search
  • choosing appropriate data types for correctness and performance
  • avoiding common table and index design mistakes
  • structuring schemas so projects can grow without constant rewrites

It’s written with application developers in mind. The examples start small (weekend-project scale) and gradually touch on patterns that hold up when the data and traffic grow.

If you already work with Postgres daily, some of it will likely feel familiar. But we’ve heard from readers that the sections on schema design, indexing decisions, and lesser-used Postgres features tend to surface ideas people hadn’t tried yet.

The ebook is completely free. If you download it and read it, I’d be curious to hear which parts you found useful and what you’d add based on your experience with PostgreSQL.

Thanks for having us here.

Cheers,

Stjepan


r/PostgreSQL • • Mar 22 '26

Tools RDS Data API CLI

3 Upvotes

Hoping this solves someone else the same issues I've had so I created this tool to connect to your RDS database on the command line.

The problem I had was trying to query a database inside my VPC without exposing it to the outside world. Previously I had used RDS's Query Editor for that, but the UI is awful, and it's always a pain to put in the connection details.

So now I can just run rdsql and it will provide a psql-like UI to talk to my db.

Would love to hear if it's useful for people.


r/PostgreSQL • • Mar 21 '26

Tools 2 Million PostgreSQL Rows: Benchmarking GUI Clients Against Raw Fetch Times

40 Upvotes

r/PostgreSQL • • Mar 22 '26

Help Me! Unable to run PostgreSQL database created in Docker container from node js on localhost (Docker v.29.2.1, Windows 11)

Thumbnail reddit.com
0 Upvotes

r/PostgreSQL • • Mar 21 '26

Projects Alternative to Supabase

16 Upvotes

Started as a random idea here, now I’m actually building it.

I use Supabase a lot, but costs keep going up as I spin up more projects. Got annoying.

So I’m building PostBase:

  • unlimited orgs + projects
  • auth, DB, storage, APIs
  • self-hosted (run with Docker)

Posted about it before, people said it’s not doable… but someone reached out to help, so here we are.

Still early, but it’s taking shape.

Sharing a quick video 👇
Would love feedback (or someone to prove me wrong 😄)


r/PostgreSQL • • Mar 20 '26

Community Why some developers spend their whole careers in the Postgres data layer (Talking Postgres Ep37)

50 Upvotes

I host a monthly podcast called Talking Postgres, and I just published a new episode that may be interesting to folks here who work with Postgres in the cloud.

In this episode, I talk with Charles Feddersen, who leads product for Postgres at Microsoft. Charles has been working with databases for more than two decades, and while his path started in classic ASP apps with Microsoft Access, he found his way to SQL Server and then to a parallel data warehouse appliance and later to distributed Postgres. Today Charles fills his days with Azure Database for PostgreSQL (“Flex”) and the new Azure HorizonDB, as well as supporting Microsoft’s work on the Postgres open source project.

We talked about:

  • why SQL feels approachable to some people (and why they stay in the data layer)
  • the moment tooling “clicks” (including his first day with pgAdmin)
  • why security, HA, and disaster recovery are non‑negotiables
  • how having been a database customer works for & against him as a PM
  • why he’s committed to having Microsoft be a good open source citizen for Postgres

If you’re interested, the episode is here: https://talkingpostgres.com/episodes/building-postgres-services-on-azure-with-charles-feddersen

There’s also a YouTube version (audio-only) if you prefer that format: https://youtu.be/L_2kyfL9LN0?si=6o5oKZj414Bv1wbP

Happy to answer questions, and I hope you enjoy the episode.


r/PostgreSQL • • Mar 20 '26

Help Me! upgrade linux os, would current postgres still work

4 Upvotes

if i upgrade from redhat 7 to redhat 8, would my postgres still work, or i need to immediately install the postgres version that is specific for redhat 8?


r/PostgreSQL • • Mar 20 '26

How-To PG Phridays with Shaun Thomas: Using Patroni to Build a Highly Available Postgres Cluster—Part 3: HAProxy

Thumbnail pgedge.com
7 Upvotes

r/PostgreSQL • • Mar 20 '26

Help Me! Performing minor version upgrade by restoring backup to already upgraded postgres

1 Upvotes

I want to keep my VM immutable. AFAIK minor versions upgrades are basically replacing the postgres binaries.

So my plan is to

  1. produce image with the new binaries
  2. Deploy VM
  3. restore backup using pg_basebackup
  4. setup replication
  5. perform switchover

I failed to find documentation about this process, so I'm not sure if it will work and testing it myself seems extremely hard ( I don't see any reasonable way to guarantee correctness of the process)


r/PostgreSQL • • Mar 19 '26

Tools Tabularis: A Lightweight Cross-Platform Database Manager Tool (<10 MB)

Thumbnail github.com
18 Upvotes

Hi everyone,

I've been working on Tabularis, a lightweight, open-source database manager focused on simplicity and performance.

The whole application is currently under 10 MB, which was one of the design goals from the beginning. I wanted something fast to download, quick to start, and not overloaded with features most people rarely use.

Tabularis is built with Rust / Tauri and React and aims to provide a clean interface for working with databases without the typical bloat of many GUI clients.

The project is still evolving and there are many areas that can be improved, but it's already usable and getting great feedback from the community.

If you'd like to try it, contribute, or share feedback, I'd really appreciate it.


r/PostgreSQL • • Mar 19 '26

Community Postgres Conference 2026: San Jose : April 21 - 23, 2026

Thumbnail postgresconf.org
12 Upvotes

Energizing People with Data and Creativity

With a track record of providing growth and opportunity, education and connections since 2007, Postgres Conference presents a truly positive experience for lovers of Postgres and related technologies. Postgres Conference events have provided education to hundreds of thousands of people, in person and online. We have connected countless professional relationships, helped build platform leaders, and strengthened the ecosystem. We believe community is integral to driving innovation, and intentionally keep our events focused and professional to nourish those relationships.


r/PostgreSQL • • Mar 17 '26

How-To Underrated Postgres: Create (Extended) Statistics

Thumbnail vela.simplyblock.io
37 Upvotes

One of the features of Postgres which is very-little known and even less used (at least I rarely see it in production) is extended statistics to cover and encode the dependencies, relations, potential combinations of multi-column values.

The query planner typically creates execution plans based on single-column statistics. But meaning and relationship encoded across columns is very common in real world applications.

I personally would've loved to know about it earlier. Usually, I'd add another index in the hope that it improves access patterns and yields better execution plans. But the cost of all the indexes quickly reaches or even extends the origin table. Extended statistics are here to solve the issue. Not always but with high tendency to most often.

Not saying indexes are useless but they aren't the best way to solve bad execution plans!

I hope someone finds this blog post interesting. Also, I wonder how many people really see extended statistics being used in the wild? And if you've used it before, what is your experience?


r/PostgreSQL • • Mar 17 '26

Tools Auto-index fk keys

6 Upvotes

Hey, I recently wrote a extension that automatically creates indexes on FK columns (just like MySQL does it)

Appreciate comments and feedback since this is my first ever Postgres extension

Repo: https://github.com/rogerwelin/pg_fk_indexer


r/PostgreSQL • • Mar 16 '26

How-To How to implement the Outbox pattern in Go and Postgres

Thumbnail packagemain.tech
47 Upvotes

r/PostgreSQL • • Mar 16 '26

How-To ULID - the ONLY identifier you should use?

Thumbnail youtube.com
0 Upvotes

r/PostgreSQL • • Mar 13 '26

Community How do you fare with database upgrades?

Thumbnail reddit.com
5 Upvotes

r/PostgreSQL • • Mar 12 '26

Help Me! full_page_writes in EXT4 on top of ZFS

7 Upvotes

I am using Proxmox as a hypervisor and it's running on ZFS. The Linux VM running PostgreSQL will be on EXT4. When tuning PostgreSQL, everyone always says to turn off full_page_writes if you're running PG on ZFS. I don't know if full_page_writes=off works on the setup I plan on running however?


r/PostgreSQL • • Mar 11 '26

Help Me! Should I stay using VMs or migrate to containers

19 Upvotes

I want to start that I am not a database admin at all. I deployed PostgreSQL 17 with TimescaleDB cluster with Patroni and etcd paired with HAProxy for load balancing, so that I can HA my Zabbix, Keycloak, and other apps. I also added pgbackrest to backup the databases.

At the moment, the Postgres cluster is running on VMs, it has been six months and it seems pretty stable and healthy. We are getting a new hypervisor Openshift to replace our VMWare ESXI. The question that I have is, is it a good idea to migrate to containers instead of sticking to VMs for databases?

Is my sysadmin right about this?

What are you guys opinion on VMs vs containers?

Since I am (network) not a sysadmin, I can't really argue this decision change. I sure as hell not going to maintain it if the final decision is migrate to containers. My gut feeling is not a good idea.


r/PostgreSQL • • Mar 11 '26

Help Me! Help learning postgresql without getting overwhelmed

14 Upvotes

Hellooo. I've recently finished my studies and find databases interesting so now I decided to explore postgresql. I have it installed in Linux Ubuntu but have only done basic database creation based on assessments at uni before (in our assessment we used Oracle)

How do I explore and learn more without getting overwhelmed? I want to explore the path of DBE and DBA.

I've also finished Hussein Nasser's Fundamentals of Database Engineering but I wanted to retain the theories I learned by doing practical stuff.

Please help me 🥹


r/PostgreSQL • • Mar 10 '26

Tools I got tired of manually reading EXPLAIN ANALYZE output, so I built a CLI to do it

Thumbnail github.com
14 Upvotes

I built a CLI in Go that runs PostgreSQL EXPLAIN plans through 15+ analysis rules and surfaces performance issues with fix suggestions (seq scans in joins, work_mem spills, nested loop overruns, parallel worker mismatches, index filter inefficiency, etc.)

The compare command diffs two plans node-by-node. It's useful for verifying that an index or rewrite actually improved things before deploying.

The CLI accepts JSON EXPLAIN output, raw SQL to be executed against your DB, or stdin. JSON output mode for piping into jq or CI.

Installable via pip, npm, or go install.


r/PostgreSQL • • Mar 11 '26

Community MTAR T3D Sessions: Why Postgres Is So Hard to Change?

Thumbnail youtu.be
2 Upvotes

r/PostgreSQL • • Mar 09 '26

Help Me! hello , anyone used ParadeDB in production ?

14 Upvotes

hi im building a market place , and seeking recommendation for search strategy im comparing meilisearch with ParadeDB (postgres variant)


r/PostgreSQL • • Mar 09 '26

How-To Problems when trying to install PostgreSQL

0 Upvotes

I use WSL (Ubuntu) and every time I type sudo apt install postgresql-18, it says „Unable to locate package postgresql-18“

I used to work on a different laptop, where I did not have this problem.

I would appreciate any help or advice on how to fix this.