Note - Please keep pgsql-hackers in CC while responding. On Fri, Apr 12, 2024 at 10:44 AM Perumal Raj <peruci...@gmail.com> wrote:
> Thanks Amit for the update, > > Documentation says : https://www.postgresql.org/docs/15/upgrading.html > > 19.6.3. Upgrading Data via Replication > > It is also possible to use logical replication methods to create a standby > server with the updated version of PostgreSQL. This is possible because > logical replication supports replication between different major versions > of PostgreSQL. The standby can be on the same computer or a different > computer. Once it has synced up with the primary server (running the older > version of PostgreSQL), you can switch primaries and make the standby the > primary and shut down the older database instance. Such a switch-over > results in only several seconds of downtime for an upgrade. > > This method of upgrading can be performed using the built-in logical > replication facilities as well as using external logical replication > systems such as pglogical, Slony, Londiste, and Bucardo. > > What is "built-in logical replication" ? > See docs at [1]. [1] - https://www.postgresql.org/docs/devel/logical-replication.html -- With Regards, Amit Kapila