From: Andrus <kobruleht2@hot.ee>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: How to create hot standby of Postgres 12/Debian 10.3 in Windows 11
Date: Fri, 25 Nov 2022 22:56:42 +0200
Message-ID: <f1d831e9-5864-a1ac-fe3d-76884274ac58@hot.ee> (raw)
Hi!
Postgres 12 from Postgres repository is running in Debian 10.3 VPS server:
PostgreSQL 12.2 (Debian 12.2-2.pgdg100+1) on x86_64-pc-linux-gnu,
compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
(its upgrade is currently not an option).
Cluster should mirrored to Windows 11 workstation in real time over
internet.
I installed Debian in Windows 11 using Linux Subsystem for Windows with
wsl --install Debian
This installs Debian 11.5
I tried to install Postgres 12 for replication in this Debian using
sudo apt install postgresql-12
but this fails with
E: Unable to locate package postgresql-12
How to install Postgres 12 in Debian 11.5 ?
Will this replication work since Debian versions are different but
hopefully locale implementations are same ?
Which is most reasonable way to replicate whole Postgres 12/Debian 10.3
cluster in Windows 11 ?
Andrus.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: kobruleht2@hot.ee
Subject: Re: How to create hot standby of Postgres 12/Debian 10.3 in Windows 11
In-Reply-To: <f1d831e9-5864-a1ac-fe3d-76884274ac58@hot.ee>
References: <f1d831e9-5864-a1ac-fe3d-76884274ac58@hot.ee>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox