I have found myself in a situation where the pg_xlog contains 60GB of data due to a wrong configuration option set.
I had setup the wal_level
, archive_mode=on
and archive_command
for barman which then got uninstalled. Can I simply comment these options as per default postgresql.conf config file and delete the files in the pg_xlog directory?
What is the correct procedure to remove these files in order to avoid database corruption?
pg_controldata
pg_controldata
command. It's not present in my installation (Debian)