InsightsData foundations
Why Postgres stands the test of time
Your interface will change. Your AI models will change. The records your business depends on still need to be right.

The business still needs a dependable record
PostgreSQL stands the test of time because it combines a dependable relational foundation with room to adapt. Transactions and constraints protect business records. SQL makes relationships queryable. JSONB and extensions let teams add new capabilities without immediately adding another database.
That combination matters when rebuilding a company’s software. The CRM may be replaced, the customer portal redesigned and an AI agent added to handle routine work. Someone still needs to know which customer placed the order, whether it was approved and what happened to the payment.
Postgres has roots in the POSTGRES project that began in 1986, and its open-source development continues. Its longevity is useful context, but age alone is not the reason to choose it. The reason is how well its capabilities fit the records and relationships a business already has. About PostgreSQL.
A database should help prevent bad states
Consider an order that reserves stock and creates an invoice. If only half of the database updates succeed, staff inherit a reconciliation problem. A Postgres transaction groups database changes so they commit together or are rolled back together. External payments and emails need their own coordination; the transaction cannot undo an API call to another company.
Constraints provide another line of defense. A unique key can reject a duplicate external order ID. A foreign key can require an invoice to refer to an existing customer. A check constraint can reject a quantity that violates a defined rule. These protections apply when data arrives from an admin screen, an integration or an agent.
Concurrency deserves attention too. Two people can try to reserve the same inventory at once. Correct handling depends on the transaction design, isolation and locking strategy; wrapping arbitrary code in a transaction does not solve every race. Keeping the rules in a coherent data model makes that work easier to reason about.
Structured records and flexible inputs can coexist
Integration work starts with inconsistent inputs. One supplier sends a nested API response. Another sends a different set of attributes for every product. Requiring a new column for every optional field can slow the work, while throwing every business record into an unstructured object makes reporting harder.
Postgres supports relational columns alongside JSONB, a JSON representation that supports indexing. A practical design might keep customer IDs, order status and timestamps in typed columns while retaining a supplier’s variable attributes in JSONB.
Promote fields into the core model when the business starts depending on them. A field used to approve orders or calculate revenue deserves a clear definition, validation and an intentional indexing strategy. Flexible storage is useful; inconsistent meaning still needs to be fixed.
That is the work behind getting data ready for AI: matching identities, normalizing records and deciding which source is authoritative. Changing databases cannot make those decisions for you.
AI makes the foundation more valuable
An AI application needs more than a place to store embeddings. It also needs users, document ownership, source versions, approval records and the current state of a job. Keeping those relationships close to the business data can reduce the number of systems that must agree.
The pgvector extension adds vector similarity search to Postgres, with exact and approximate search options. That gives teams a way to evaluate semantic retrieval alongside existing records. It does not mean Postgres wins every vector-search workload: benchmark retrieval quality, filtering, latency and memory with representative data.
Permissions must follow the retrieved content. Row security policies can restrict which rows an application role can see or change. Superusers and roles with BYPASSRLS bypass those policies; table owners normally do too. Test with the actual runtime role, including attempts to retrieve another tenant’s records.
A good architecture lets the model change while the rules governing customer records stay enforceable. Give an agent a narrowly defined operation such as “propose an invoice adjustment,” with validation and approval around the write, instead of unrestricted access to run arbitrary SQL.
Reliable does not mean maintenance-free
Postgres still needs an operating plan. Someone owns version upgrades, connection capacity, query performance, storage growth and recovery. Managed hosting can take on portions of that work, but the application’s query patterns and data model remain your responsibility.
Backups deserve a real restore exercise. Postgres supports point-in-time recovery using a base backup and archived write-ahead logs. The useful question is whether your configured system can restore to the required point within the time the business can tolerate.
Measure the workload before adding more infrastructure. Inspect slow queries and their plans, choose indexes deliberately and watch lock contention. Large analytical scans, very high write volumes or unusual geographic requirements may justify specialized systems beside Postgres. There is no prize for forcing every workload into one engine.
Choose something the next team can work with
An open-source database and widely understood SQL give future teams options. You can evaluate different hosting arrangements and carry useful knowledge between them. Moving is still work: extensions, authentication, backups and provider-specific services all need checking. Portability is a practical advantage, not a promise of a one-click exit.
When we assess an existing stack, the question is whether its database can support the next version of the business. If Postgres already holds sound records, we would rather improve the model, clean up the integrations and build around it than replace it for novelty.
That is why Postgres keeps earning its place. It can hold the dependable center of a company while the products around it evolve. Our integration and data work starts by finding that center and making the rest of the stack use it consistently.
More insights
Industry analysisThe next AI race is happening around the modelPi, Shopify, Coinbase and the legal industry point to a broader shift: companies are taking more control over the systems and knowledge around AI.
OpinionAI is changing how businesses build. Copyright needs to catch up.A business can spend months directing a product into existence. It deserves a clearer answer about which parts of that work it can protect.
Agentic commerceYour next customer may send an AI agent. Can your business close the sale?Personal agents are starting to do the buying. Your business needs a clear path from a customer’s request to a price, a payment and a confirmed order.