film42 / pgreba

A health-checking service for postgres
2 stars 5 forks source link

Reading pgStatReplication table #1

Closed schinns closed 4 years ago

schinns commented 4 years ago

I didn't have an active replication slot on my machine, so I wasn't sure what all the types should be for the pgStatReplication struct so they're all string for now.

just preparatory piece for checking the lags