pgsql: Make walsenders show their replication commands in pg_stat_activ

2021-06-25 Thread Tom Lane
Make walsenders show their replication commands in pg_stat_activity. A walsender process that has executed a SQL command left the text of that command in pg_stat_activity.query indefinitely, which is quite confusing if it's in RUNNING state but not doing that query. An easy and useful fix is to t

pgsql: Make walsenders show their replication commands in pg_stat_activ

2021-06-25 Thread Tom Lane
Make walsenders show their replication commands in pg_stat_activity. A walsender process that has executed a SQL command left the text of that command in pg_stat_activity.query indefinitely, which is quite confusing if it's in RUNNING state but not doing that query. An easy and useful fix is to t

pgsql: Make walsenders show their replication commands in pg_stat_activ

2021-06-25 Thread Tom Lane
Make walsenders show their replication commands in pg_stat_activity. A walsender process that has executed a SQL command left the text of that command in pg_stat_activity.query indefinitely, which is quite confusing if it's in RUNNING state but not doing that query. An easy and useful fix is to t

pgsql: Make walsenders show their replication commands in pg_stat_activ

2021-06-25 Thread Tom Lane
Make walsenders show their replication commands in pg_stat_activity. A walsender process that has executed a SQL command left the text of that command in pg_stat_activity.query indefinitely, which is quite confusing if it's in RUNNING state but not doing that query. An easy and useful fix is to t

pgsql: Make walsenders show their replication commands in pg_stat_activ

2020-09-14 Thread Tom Lane
Make walsenders show their replication commands in pg_stat_activity. A walsender process that has executed a SQL command left the text of that command in pg_stat_activity.query indefinitely, which is quite confusing if it's in RUNNING state but not doing that query. An easy and useful fix is to t