You can see this document.
https://www.postgresql.org/docs/current/pgupgrade.html Yours, Wen Yi ---Original--- From: "Amn Ojee Uw"<amnoje...@gmail.com> Date: Sun, Jul 30, 2023 19:54 PM To: "pgsql-general"<pgsql-general@lists.postgresql.org>; Subject: Upgrading Just a quick question. On my Debian 12, I installed PostgreSQL-12, I'd like to upgrade to the latest release of PostgreSQL. So, my question is, what is the best way to upgrade to the next release of PostgreSQL? Thanks in advance.