Re: Upgrade from 12.22 to 16 - Mailing list pgsql-admin

From Gaspare Boscarino, P.Eng.
Subject Re: Upgrade from 12.22 to 16
Date
Msg-id CALFaTbPp+cRQ5MhSkSThom9f2soXRV=2qam_x0ue6gW9dD2W9Q@mail.gmail.com
Whole thread Raw
In response to Re: Upgrade from 12.22 to 16  (David Okeamah <whitneykiss741@gmail.com>)
List pgsql-admin
Hello David,

I can help but I am not sure if this is the right channel for further communication.

Thank you.

Regards,

Gaspare

On Mon, Jun 16, 2025 at 11:12 AM David Okeamah <whitneykiss741@gmail.com> wrote:
Can you help out 

DAVID OKEAMAH,DEVELOPER 

From: Gaspare Boscarino, P.Eng. <gaspare.boscarino@theoremasystems.com>
Sent: Monday, June 16, 2025 7:10:22 PM
To: DINESH NAIR <Dinesh_Nair@iitmpravartak.net>
Cc: Wasim Devale <wasimd60@gmail.com>; Ron Johnson <ronljohnsonjr@gmail.com>; pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: Upgrade from 12.22 to 16
 
Hello Wasim,

I suggest the logical replication approach. As mentioned before in this thread, there are some limitations like DDL propagation, the need for primary keys, etc. However, those constraints are not problematic and if planned properly the result is excellent. I have used logical replication many times for databases with TB of data. 

Thank you.

Regards,

Gaspare

On Sun, Jun 15, 2025 at 9:43 PM DINESH NAIR <Dinesh_Nair@iitmpravartak.net> wrote:
Hope this  below  mentionsed on the restrictions  to be useful on the database schema and DDL commands are not replicated 

Another useful link on  enabling replication






From: Wasim Devale <wasimd60@gmail.com>
Sent: Saturday, June 14, 2025 8:23 PM
To: Ron Johnson <ronljohnsonjr@gmail.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>; Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: Upgrade from 12.22 to 16

Caution: This email was sent from an external source. Please verify the sender’s identity before clicking links or opening attachments.

Thanks everyone.

Is there the restriction in logical replication because the database we have has all of it shown in the screenshot.


On Wed, 11 Jun, 2025, 8:59 pm Ron Johnson, <ronljohnsonjr@gmail.com> wrote:
On Wed, Jun 11, 2025 at 2:57 AM Domen Šetar <domen.setar@izum.si> wrote:

You can use logical replication if new version of your postgres is on other host.


Are you sure?  There _shouldn't_ be any problem with replicating to a new instance on the same machine.
 
--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!


--
Gaspare Boscarino, P.Eng., M.Eng., MASc.
Founder and CEO
Theorema Systems Inc.
www.theoremasystems.com | +1 604-765-0121


--
Gaspare Boscarino, P.Eng., M.Eng., MASc.
Founder and CEO
Theorema Systems Inc.
www.theoremasystems.com | +1 604-765-0121

pgsql-admin by date:

Previous
From: David Okeamah
Date:
Subject: Re: Upgrade from 12.22 to 16
Next
From: akshay polji
Date:
Subject: Re: alter the datatype of Partition Key