Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace backend_type with is_background_worker #134

Merged
merged 2 commits into from
Apr 10, 2020

Conversation

blogh
Copy link
Collaborator

@blogh blogh commented Apr 9, 2020

  • This commit attempts to solve the issue : 'utf-8' codec can't decode byte 0xf8 in position 0 #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] #130
[2] powa-team/powa-archivist#20
[3] 6a180d8

* This commit attempts to solve the 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
@julmon julmon self-requested a review April 10, 2020 09:33
Copy link
Contributor

@julmon julmon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just a comment for minor improvement.

pgactivity/UI.py Outdated Show resolved Hide resolved
@julmon julmon merged commit c10ce8e into dalibo:master Apr 10, 2020
@blogh blogh deleted the utf8_breakage branch January 7, 2022 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants