[GH-ISSUE #36] pgAdmin Server Status Icon Issue #36

Closed
opened 2026-05-05 03:32:03 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @winmedatgmaildotcom on GitHub (Sep 26, 2023).
Original GitHub issue: https://github.com/levinsv/pgadmin3/issues/36

Thank you very much for keeping pgAdmin 3 updated with the latest PostgreSQL versions.
I have encountered an issue with the Server Status and was hoping for some assistance. As seen in the attached screenshot, the “Cancel Query” and “Terminate backend” icon buttons do not seem to be functioning properly. Whenever I click on a target session, it briefly flashes but then becomes disabled and inactive. I am unsure if this is a bug or if there is a workaround that I could try.
pgadmin-server-status

Originally created by @winmedatgmaildotcom on GitHub (Sep 26, 2023). Original GitHub issue: https://github.com/levinsv/pgadmin3/issues/36 Thank you very much for keeping pgAdmin 3 updated with the latest PostgreSQL versions. I have encountered an issue with the Server Status and was hoping for some assistance. As seen in the attached screenshot, the “Cancel Query” and “Terminate backend” icon buttons do not seem to be functioning properly. Whenever I click on a target session, it briefly flashes but then becomes disabled and inactive. I am unsure if this is a bug or if there is a workaround that I could try. ![pgadmin-server-status](https://github.com/levinsv/pgadmin3/assets/102481118/bd4f3fa2-a1ea-4f99-8a74-7a4be8fb1548)
gitea-mirror 2026-05-05 03:32:03 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@levinsv commented on GitHub (Sep 27, 2023):

You need to shift the focus to the "Activity" window. To do this, click on the title of the "Activity" window.

<!-- gh-comment-id:1736600942 --> @levinsv commented on GitHub (Sep 27, 2023): You need to shift the focus to the "Activity" window. To do this, click on the title of the "Activity" window.
Author
Owner

@winmedatgmaildotcom commented on GitHub (Sep 27, 2023):

Thank you for the guidence. It worked but now only 'Cancel Query' is enabled. The 'Terminate backend' button is still disabled. Am I missing something again?

server-status2

<!-- gh-comment-id:1737379006 --> @winmedatgmaildotcom commented on GitHub (Sep 27, 2023): Thank you for the guidence. It worked but now only 'Cancel Query' is enabled. The 'Terminate backend' button is still disabled. Am I missing something again? ![server-status2](https://github.com/levinsv/pgadmin3/assets/102481118/7835cde7-eb6b-46b0-aeb7-7406746b9a47)
Author
Owner

@winmedatgmaildotcom commented on GitHub (Sep 27, 2023):

Thank you for the guidence. It worked but now only 'Cancel Query' is enabled. The 'Terminate backend' button is still disabled. Am I missing something again?

server-status2

<!-- gh-comment-id:1737380343 --> @winmedatgmaildotcom commented on GitHub (Sep 27, 2023): Thank you for the guidence. It worked but now only 'Cancel Query' is enabled. The 'Terminate backend' button is still disabled. Am I missing something again? ![server-status2](https://github.com/levinsv/pgadmin3/assets/102481118/d672b954-3621-46c4-b181-ca85ce815e7f)
Author
Owner

@levinsv commented on GitHub (Sep 27, 2023):

pgAdmin3 did not find the pg_terminate_backend (pid integer) function on your server.

SELECT proname, pronargs, proargtypes[0] AS arg0, proargtypes[1] AS arg1, proargtypes[2] AS arg2 FROM pg_proc JOIN pg_namespace n ON n.oid=pronamespace WHERE proname IN ('pg_tablespace_size', 'pg_file_read', 'pg_logfile_rotate', 'pg_postmaster_starttime', 'pg_terminate_backend', 'pg_reload_conf', 'pgstattuple', 'pgstatindex','bt_index_parent_check') AND nspname IN ('pg_catalog', 'public')

<!-- gh-comment-id:1737485189 --> @levinsv commented on GitHub (Sep 27, 2023): pgAdmin3 did not find the pg_terminate_backend (pid integer) function on your server. `SELECT proname, pronargs, proargtypes[0] AS arg0, proargtypes[1] AS arg1, proargtypes[2] AS arg2 FROM pg_proc JOIN pg_namespace n ON n.oid=pronamespace WHERE proname IN ('pg_tablespace_size', 'pg_file_read', 'pg_logfile_rotate', 'pg_postmaster_starttime', 'pg_terminate_backend', 'pg_reload_conf', 'pgstattuple', 'pgstatindex','bt_index_parent_check') AND nspname IN ('pg_catalog', 'public') `
Author
Owner

@winmedatgmaildotcom commented on GitHub (Sep 27, 2023):

Found out the terminate backend works on PostgreSQL 13 but not on version 15. Here is the query result on both servers.

The query result in version 13.
v13

The query result in version 15.
v15

<!-- gh-comment-id:1737595836 --> @winmedatgmaildotcom commented on GitHub (Sep 27, 2023): Found out the terminate backend works on PostgreSQL 13 but not on version 15. Here is the query result on both servers. The query result in version 13. ![v13](https://github.com/levinsv/pgadmin3/assets/102481118/3db7f443-4f26-49e1-bd05-efdf7f6a8149) The query result in version 15. ![v15](https://github.com/levinsv/pgadmin3/assets/102481118/e566a430-c7e7-446c-b769-9d58ba4b50eb)
Author
Owner

@levinsv commented on GitHub (Sep 27, 2023):

The fix is in this commit 23b6a2a458

<!-- gh-comment-id:1737685071 --> @levinsv commented on GitHub (Sep 27, 2023): The fix is in this commit https://github.com/levinsv/pgadmin3/commit/23b6a2a4585375146ea89f4d4aa0602452eff569
Author
Owner

@winmedatgmaildotcom commented on GitHub (Sep 27, 2023):

Perfect! The issue is resolved after the fix.
Thank you!

<!-- gh-comment-id:1737709385 --> @winmedatgmaildotcom commented on GitHub (Sep 27, 2023): Perfect! The issue is resolved after the fix. Thank you!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/pgadmin3#36
No description provided.