Add support in Gitlab::Database for checking PostgreSQL replication lag
We are starting to use this query in a bunch of places (e.g. Geo, load balancing, etc.), so to reduce code duplication we should have it in one central place.
We are starting to use this query in a bunch of places (e.g. Geo, load balancing, etc.), so to reduce code duplication we should have it in one central place.