citus/src
Onder Kalaci abd5b1c506 Prevent any monitoring view/udf to show already exited backends
The low-level StoreAllActiveTransactions() function filters out
backends that exited.

Before this commit, if you run a pgbench, after that you'd still
see the backends show up:
```SQL
 select count(*) from get_global_active_transactions();
┌───────┐
│ count │
├───────┤
│   538 │
└───────┘
```

After this patch, only active backends show-up:

```SQL
 select count(*) from get_global_active_transactions();
┌───────┐
│ count │
├───────┤
│    72 │
└───────┘
```
2022-02-14 17:34:32 +01:00
..
backend Prevent any monitoring view/udf to show already exited backends 2022-02-14 17:34:32 +01:00
include Prevent any monitoring view/udf to show already exited backends 2022-02-14 17:34:32 +01:00
test Refactor EnsureSequentialMode functions (#5704) 2022-02-14 18:38:21 +03:00