We have enabled WAL archiving on our synchronous standby and are getting an unexpected behavior. WAL records are being deleted from pg_xlog directory but are not being written to our archive directory. Also, one or two WAL files per day are left in pg_xlog. I believe directory permissions are set properly on the archive directory and there are no error messages in the pg_log/postgres-xxx.log file. The archive command is un-commented in postgresql.conf. Things are acting like a pg_archivecleanup command is periodically executed on the pg_xlog directory. Has anyone seen this? Does WAL archiving act differently on a synchronous standby? Postgres 9.2.4 2.6.32-220.4.2.el6.x86_64 SMP x86_64 x86_64 x86_64 GNU/Linux -- View this message in context: http://postgresql.1045698.n5.nabble.com/WAL-archiving-on-a-synchrnous-standby-tp5782212.html Sent from the PostgreSQL - admin mailing list archive at Nabble.com. -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin