On Wed, 16 Apr 2025 at 10:25, Andrey Borodin <x4mmm@yandex-team.ru> wrote:
>
> I think I can provide some reasons why it cannot be neither extension, nor any part running within postmaster reign.
>
> 1. When joining cluster, there’s not PGDATA to run postmaster on top of it.
You can join the cluster on pg_basebackup of its master; So I dont get
why this is an anti-extension restriction.
> 2. After failover, old Primary node must rejoin cluster by running pg_rewind and following timeline switch.
You can run bash from extension, what's the point?
> The system in hand must be able to manipulate with PGDATA without starting Postgres.
--
Best regards,
Kirill Reshke