Reflections on the PGConf.EU 2026 Community Event “Autonomous Postgres – from scripts to self-driving databases”

A fascinating set of community events highlighted the last day of the PGConf.EU 2026 conference, ranging from storytelling for technical communications to a training materials working group, a Kubernetes summit, OAPE’s first certification exams, and a session on autonomous Postgres.

This short article summarizes my impressions of the Autonomous Postgres session, which I co-organized with Vibhor Kumar and Ryan Booz (who was unfortunately not able to attend). This write-up is not the consensus or an official presentation of next steps!

I hope to post links to all the presentations shortly on the event’s wiki page.

We had a great lineup of presenters. We started with a short stage-setting and ended with a discussion of where the broader Postgres ecosystem should focus next.

09:00Opening & setting the stage (Marc Linster, Vibhor Kumar)
9:15Autonomous Postgres: From Self-Managed Operations to AI-Ready Data Platform (Anil Kumar, Rajesh Nagpal)
9:40Peeking inside the black box: A statistical approach to PostgreSQL parameter importance (Luigi Nardi)
10:05Postgres Needs an Agent Loop: What Autonomous Database Operations Actually Require (Matt “The Yonk” Yonkovit)
10:30Coffee Break
10:45An Agent You’d Trust at 3 am: A Safety-First Foundation for Autonomous PostgreSQL (Dave Page)
11:10Building an AI agent that detects and resolves PostgreSQL transaction ID wraparound (Divya Sharma)
11:35Your Database Has No Idea Who’s Asking (Bilge Ince)
12:00Discussion: Open floor: “What should we build next?”

Setting the stage

Going into the presentation, Vibhor and I expected that ‘Autonomous Postgres’ was happening in three areas:

  1. AI for the analyst – helping to generate queries and making it easier for the citizen analyst to extract value from the data stored in Postgres
  2. AI for the DBA – supporting the database administrator with tuning, performance management, root cause analysis, and security management
  3. AI-based value generation and governance – AI uses Postgres to store factual data, metadata, state data, audit trails, permissions, and to handle access control

Autonomous Postgres: From Self-Managed Operations to AI-Ready Data Platform

Anil and Rajesh presented an interesting approach where much (if not all) of the AI processing happens inside the database. Their approach leverages Postgres’ existing capabilities to the hilt, using its RBAC, transaction, and audit features to control and manage the integrated AI/Postgres processing. They argued that the best observer of Postgres is Postgres.

Their contribution was very much focused on (3) AI-based value generation and governance.

Peeking inside the black box: A statistical approach to PostgreSQL parameter importance

Luigi focused on (2) AI for the DBA. He showed that scientifically proven machine learning methods can help AI (and the DBA) understand which queries to optimize and how to handle noise and workload variability, and that AI-based optimization does not necessarily mean using an LLM.

Postgres Needs an Agent Loop: What Autonomous Database Operations Actually Require

Matt also put the AI agent definition and the agent state inside the database, blurring the boundary between AI agent invocations and calls to stored procedures. This also allows him to leverage Postgres’ audit and RBAC capabilities for governance.

Matt’s contribution was focused on (3) AI-based value generation and governance.

An Agent You’d Trust at 3 am: A Safety-First Foundation for Autonomous PostgreSQL

Dave emphasized the importance of the MCP (Model Context Protocol) architecture, combined with strong guardrails that protect against hallucinations, untrusted contexts, and ‘confident wrongness’ for safely defining and using a limited list of actions an AI model can choose from. In his presentation, he separated the data platform from the AI model. Ellie (his AI agent) does not run inside the database, but it can invoke read and write actions on the database. Dave illustrated this concept with a multi-tier anomaly detection system for Postgres issues.

While this approach has greater applicability, I would put Dave’s presentation into category (2) AI for the DBA.

Building an AI agent that detects and resolves PostgreSQL transaction ID wraparound

Divya presented a rules-based approach to dealing with transaction ID wraparound. While vacuum processing has improved greatly in recent Postgres releases, the consensus was that it remains a problem worth addressing.

Divya proposed a deterministic approach to identifying different wraparound stages and the steps to address them. While this doesn’t leverage LLM-type AI, a rules-based approach seemed like the right technology choice for tackling this problem.

IMHO, Divya’s work fell into category (2): AI for the DBA.

Your Database Has No Idea Who’s Asking

Bilge’s presentation focused on a key problem analysts (or AI developers) encounter when working with data stored in databases: Text-to-SQL. How can an analyst (or an AI agent) who knows what they want, convert that request into SQL statements that find and return the data that matches the user’s (or agent’s) intent?

Her talk shows that ‘text to SQL’ is highly dependent on the semantics of the data model, but also on the intent of the agent or person who is asking, and that just restricting the access using MCP does not guarantee smart access. Bilge described a structured approach that uses SQL’s COMMENT ON construct, and ‘golden SQL queries’ to improve the mapping between the user’s intent and the resulting SQL.

Mapping the intent to the resulting SQL is a core problem behind (1) AI for the analyst and (3) AI-based value generation and governance.

Discussion: “What should we build next?”

With almost 40 people in attendance, we had enough points of view for a good discussion.

We did a short roundtable to capture everyone’s perspective and understand where participants saw the greatest value, need, and opportunity.

Here is my ranked list:

  1. Governance, security, and risk management
  2. Standards for governance, security, guardrails, and trust
  3. Context for AI
  4. Frameworks for AI and Postgres that include education and ‘golden examples’

Here is my favorite quote from the discussion:

AI is like a stick of dynamite. Very useful, but also very dangerous.

My Thoughts and Conclusions

The workshop had a lot of food for thought.

  1. Should the AI processing happen inside the database? While some participants argued in favor of that, as it allows the use of Postgres’ audit, RBAC, and transaction frameworks, others felt that putting AI processing inside the database’s operational framework could jeopardize Postgres’ robustness and integrity.
  2. I was surprised at the current lack of maturity of text-to-SQL processing. While the use of semantic models and ontologies looks promising, this appears to currently be a weakness that impacts (1) AI for the analyst and (3) AI-based value generation and governance.
  3. I was encouraged by the consensus on governance, security, and risk management. MCP models have proven their value, and I hope the broader PostgreSQL community can move toward one (or maybe two) generally accepted MCP models and standardized tools, so we can all build on each other’s work instead of doing the same things in 20 different labs.
  4. There is more to AI than LLMs. Divya’s presentation about a rules-based approach to transaction wraparound handling and Luigi’s discussion of machine-learning based approaches to query performance management showed that AI is not just LLMs.

I would like to continue this discussion online. If you work on the interface of AI and Postgres (or any database): where does your work focus, where do you see the biggest opportunities?

Let us know what you think!