How to connect ERPNext/ Frappe to Postges

i am using ERPNext 15 but now i want to shift my database from mariadb to Postgress.

Unfortunately, ERPNext does not support PostgreSQL, and there are no plans to do so in the near future.

The Frappe framework by itself (mostly) supports PostgreSQL for custom projects, but not the ERPNext application.

There are a few threads that cover this, such as:

https://frappeframework.com/docs/user/en/guides/database-settings/postgres-database-setup
try this

erpnext is maintain some table in maria db so just copy and past in PostgreSQL including data
and also paste your custom doc-type

The Frappe framework itself will support PostgreSQL, but not the ERPNext application (too much Mariadb-dependent code, queries, etc).

Just don’t want you to waste time trying to get it to work; it won’t…