A few days ago, I came across a LinkedIn post from Rushabh Mehta mentioning that ERPNext can now be used with PostgreSQL.
That made me curious about the current status of PostgreSQL support in ERPNext v16.
Can ERPNext v16 with PostgreSQL now be confidently used for production-level workloads?
I would like to know whether PostgreSQL support is considered fully production-ready for ERPNext, or if there are still limitations / ongoing improvements compared to MariaDB.
Would appreciate insights from the community or core team.
Version 16 is now seven months old.
Releases are spaced between one and one-and-a-half years apart.
Version 17 is expected to arrive sometime between this winter and next summer.
Perhaps official PostgreSQL support will be available for v17?
We’ve used PostgreSQL for the floor operations and the day to day needs while keeping the Frappe house on the default.
This type of setup actually provides a more robust in house management than most want to think - sure you have dual surfaces to manage, but the types of transactions especially now with AI, the deltas and comms portions are nill.
Please can you maintain a blog on the progress of this support. I have been tracking progress on github but still there are always unanswered questions.
I am sure like me many would like to start testing on postgres, but not sure how well it is supported as of now.
I know this thread is a bit old, but I’m curious if there have been any updates regarding PostgreSQL support in newer ERPNext versions. Has anyone tried the latest versions or noticed any improvements in production readiness? Would love to hear any recent experiences or insights!
I’m not a database guy. I know just what I need to know to administer frappe/erpnext on MariaDB with backups/restores and the very occasional direct query or manipulation of a table. What are the perceived benefits of running frappe and erpnext on postgresql over mariadb? There seems to be a fair amount of interest in this here.
Short version: unless your organization already runs on Postgres, stay on MariaDB.
Where Postgres makes sense:
Standardization. If your team already operates Postgres, adding MariaDB just for ERPNext means another system to patch, monitor and back up. Fewer moving parts is cheaper and safer.
Safer upgrades. Postgres can roll back a failed schema change cleanly. With MariaDB, a failed bench migrate can leave you half-upgraded.
Data integrity. Postgres rejects bad data instead of silently “fixing” it, which matters when the system holds your books.
Future capability. Extensions like pgvector and PostGIS, plus easy replication into analytics tools, give you more room to grow.
Why I wouldn’t switch today:
Risk. MariaDB is what Frappe Cloud and nearly every production site run on. Postgres is the less-traveled road.
Hidden costs. Custom and third-party apps often contain MariaDB-specific SQL that breaks on Postgres.