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
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?