Skip to content

Instantly share code, notes, and snippets.

@pivotal-casebook
Created February 1, 2012 20:10
Show Gist options
  • Save pivotal-casebook/1719042 to your computer and use it in GitHub Desktop.
Save pivotal-casebook/1719042 to your computer and use it in GitHub Desktop.
Postgres master slave status query
select application_name,state,sync_priority,sync_state from pg_stat_replication;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment