hapostgres / pg_auto_failover

Postgres extension and service for automated failover and high-availability
Other
1.1k stars 115 forks source link

Specify PGWAL directory #960

Open bagafoot opened 1 year ago

bagafoot commented 1 year ago

Is it possible specify pgwal directory? I could not find any config about that.

vadius45 commented 1 year ago

Hello,

At first glance, I thought it was also a requirement for me, but I don't feel it's fully needed. What I do :

It's a best practice to segregate the WAL from PGDATA and I think you can do it if you "bring" your own cluster and not allow pg_auto_failover to create it.

Happy to be contradicted if I miss anything

bagafoot commented 1 year ago

what if you perform a failover , I remember paf remove symlink and go on with default pg_wal dir?