PostgreSQL 11 Administration Cookbook
by Simon Riggs, Gianni Ciolli, Sudheer Kumar Meesala, Sheldon Strauch
There's more…
While playing with this feature for the first time, try the --verbose option.
For more detail on logical decoding plugins, we refer to the Logical replication recipe, earlier in this chapter.
Replication monitoring will show pg_receivewal and pg_recvlogical in exactly the same way as it shows other connected nodes, so there is no additional monitoring required. The default application_name is the same as the name of the tool, so you may want to set that parameter to something more meaningful to you.
With pg_receivewal and pg_recvlogical, you can use the --create-slot and --drop-slot options to control replication slots.
You can archive WAL files using synchronous replication by specifying pg_receivewal --synchronous. This causes ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access