How to move pg_wal to another location in PostgreSQL

In this article, we will see how to move pg_wal to another location in PostgreSQL.

To move the WAL(xlog) to different directory than default, we must restart PostgreSQL server. This requires downtime, so we have to plan appropriately.

Steps to move pg_wal to another location in PostgreSQL:

Continue reading How to move pg_wal to another location in PostgreSQL