I see from ps that:

postgres: wal sender process replicator X.X.X.X(38681) streaming 0/17AF5438

But is there any way for me to know whether it is synchronous or asynchronous? I made the relevant changes in postgresql.conf to switch from synchronous to asynchronous and restarted the postgres service, but I wanted to double check that the changes were parsed correctly and I am in fact running asynchronously.



SHOW synchronous_standby_names;

on the master that's expected to have synchronous replicas reports a non-empty value, then synchronous replication is active.

  • Not being at all familiar with streaming replication, I presume you mean to execute this query on the primary -- or do(es) the slave(s) "know" the same? Jun 3 '14 at 12:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.