pgsql: Properly set base backup backends to active in pg_stat_activity

2017-12-29 Thread Magnus Hagander
Properly set base backup backends to active in pg_stat_activity When walsenders were included in pg_stat_activity, only the ones actually streaming WAL were listed as active when they were active. In particular, the connections sending base backups were listed as being idle. Which means that a reg

pgsql: Properly set base backup backends to active in pg_stat_activity

2017-12-29 Thread Magnus Hagander
Properly set base backup backends to active in pg_stat_activity When walsenders were included in pg_stat_activity, only the ones actually streaming WAL were listed as active when they were active. In particular, the connections sending base backups were listed as being idle. Which means that a reg