Making PostgreSQL safe for AI agents (with Phillip Merrick) 

Coffee ChatsSeason 3Episode 19
Simple Talk - Redgate Software Blog

Share to social media

Listen on:

pgEdge co-founder Phillip Merrick joins us to explain why the growing number of “Postgres-compatible” databases could splinter what the PostgreSQL name means. He also covers why AI agents favor PostgreSQL, how to give an LLM safe access to production data, and whether PostgreSQL’s growth will continue as legacy workloads migrate.

Also: advice for engineers in the age of AI, and for founders building a business around open source. 

Listen or watch to every episode of the Redgate Simple Talk podcast at 
https://www.red-gate.com/simple-talk/podcasts/ 

8 key takeaways from our chat with Phillip Merrick

Don’t have time to watch or listen? Here’s what you should know:

Review what you can’t write

Engineers are moving from writing code to specifying and reviewing it, so full-stack understanding still matters. After all, you can’t review what you don’t understand.

Learn the business problem

Engineers who understand the business problem their software solves and can communicate its value, become far more valuable themselves – even in the AI era.

“Compatible” doesn’t necessarily mean “Postgres”

Some “Postgres-compatible” databases differ in wire protocol, syntax, and behavior – or aren’t built on PostgreSQL at all! The community should defend what the PostgreSQL name really means.

Bring in younger contributors

While the core PostgreSQL community is healthy, it’s small and aging. Long-term sustainability depends on bringing younger engineers in to work on core.

Feed LLMs real data – but do it safely

Phillip argues that real data is the best fix for hallucinating large language models (LLMs), and PostgreSQL is the best place to serve it – provided agents get guaranteed read-only production access.

Expect a migration wave

Large enterprises and agencies want off expensive legacy databases for cost and modernization, and LLMs favor PostgreSQL because it’s open source and well documented.

Start with a real problem

Before building a PostgreSQL business, an aspiring founder should first find a problem worth solving, then choose a model: proprietary on open source, open source plus a cloud service, or a hybrid.

Make vectors a native type

Phillip’s one wish for PostgreSQL is a native, first-class vector data type, building on what the pgvector extension has already done to AI-enable it.

This document contains proprietary information and is protected by copyright law.

Copyright © 2026 Red Gate Software Limited. All rights reserved