public inbox for [email protected]help / color / mirror / Atom feed
To uninstall or not to uninstall that is... 4+ messages / 4 participants [nested] [flat]
* To uninstall or not to uninstall that is... @ 2025-01-04 11:08 Arbol One <[email protected]> 0 siblings, 3 replies; 4+ messages in thread From: Arbol One @ 2025-01-04 11:08 UTC (permalink / raw) To: pgsql-general Hello. In my Debian 12 machine, I have PostgreSQL-15 installed; I'd like to upgrade to PostgreSQL-16. Should I first uninstalled PostgreSQL-15 and then install PostgreSQL-16 or is there a way to just do an upgrade? Thanks. -- */ArbolOne ™/* Using Fire Fox and Thunderbird. ArbolOne is composed of students and volunteers dedicated to providing free services to charitable organizations. ArbolOne's development on Java, PostgreSQL, HTML and Jakarta EE is in progress [ í ] ^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: To uninstall or not to uninstall that is... @ 2025-01-04 11:47 Peter J. Holzer <[email protected]> parent: Arbol One <[email protected]> 2 siblings, 0 replies; 4+ messages in thread From: Peter J. Holzer @ 2025-01-04 11:47 UTC (permalink / raw) To: [email protected] On 2025-01-04 06:08:58 -0500, Arbol One wrote: > In my Debian 12 machine, I have PostgreSQL-15 installed; I'd like to upgrade to > PostgreSQL-16. Should I first uninstalled PostgreSQL-15 and then install > PostgreSQL-16 or is there a way to just do an upgrade? How did you install it? Package from the Debian repo, package from the PGDG repo or something else? The packages from the repos are designed to be installed in parallel and upgraded via pg_upgrade. There is a utility script "pg_upgradecluster" to aid in this. So the typical procedure is 1) Install new version 2) Drop the new (empty) database 3) Invoke pg_upgradecluster (see man-page for details) 4) Check that everything is ok 5) Drop old database and uninstall old version. hp -- _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | [email protected] | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" Attachments: [application/pgp-signature] signature.asc (833B, 2-signature.asc) download ^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: To uninstall or not to uninstall that is... @ 2025-01-04 12:43 [email protected] <[email protected]> parent: Arbol One <[email protected]> 2 siblings, 0 replies; 4+ messages in thread From: [email protected] @ 2025-01-04 12:43 UTC (permalink / raw) To: pgsql-general; Arbol One <[email protected]> I've installed PostgreSQL 12 and PostgreSQL 15 side-by-side in my Ubuntu Linux. Both works fine till date. On Saturday 4 January, 2025 at 04:39:30 pm IST, Arbol One <[email protected]> wrote: Hello. In my Debian 12 machine, I have PostgreSQL-15 installed; I'd like to upgrade to PostgreSQL-16. Should I first uninstalled PostgreSQL-15 and then install PostgreSQL-16 or is there a way to just do an upgrade? Thanks. -- ArbolOne ™ Using Fire Fox and Thunderbird. ArbolOne is composed of students and volunteers dedicated to providing free services to charitable organizations. ArbolOne's development on Java, PostgreSQL, HTML and Jakarta EE is in progress [ í ] ^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: To uninstall or not to uninstall that is... @ 2025-01-04 16:29 Adrian Klaver <[email protected]> parent: Arbol One <[email protected]> 2 siblings, 0 replies; 4+ messages in thread From: Adrian Klaver @ 2025-01-04 16:29 UTC (permalink / raw) To: Arbol One <[email protected]>; pgsql-general On 1/4/25 03:08, Arbol One wrote: > Hello. > In my Debian 12 machine, I have PostgreSQL-15 installed; I'd like to > upgrade to PostgreSQL-16. Should I first uninstalled PostgreSQL-15 and > then install PostgreSQL-16 or is there a way to just do an upgrade? Do you want to run both versions concurrently or do you want to move from 15 --> 16 and then drop the 15 instance? > > Thanks. > > -- > */ArbolOne ™/* -- Adrian Klaver [email protected] ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2025-01-04 16:29 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2025-01-04 11:08 To uninstall or not to uninstall that is... Arbol One <[email protected]> 2025-01-04 11:47 ` Peter J. Holzer <[email protected]> 2025-01-04 12:43 ` [email protected] <[email protected]> 2025-01-04 16:29 ` Adrian Klaver <[email protected]>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox