forked from dalibo/pg_activity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace backend_type with is_background_worker
* This commit attenpts to solve issue : dalibo#130 [1]. * PoWA has a bug where backend_type is not correctly filled [2]. it was fixed but it's not in the stable version yet. * Since [3], we queried for the `backend_type` and filtered `parallel workers` in the Python code. The test is now done in SQL, which avoids the problems all together. * The `parallel worker` detection was not working for pg 11+ because it uses the 'parallel worker' backend_type. It's now fixed. [1] dalibo#130 [2] powa-team/powa-archivist#20 [3] dalibo@6a180d8
- Loading branch information
Showing
2 changed files
with
46 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters