Skip to content

Commit

Permalink
Fix query name for 'get_active_connections'
Browse files Browse the repository at this point in the history
Remove .sql suffix.
  • Loading branch information
dlax committed Mar 11, 2021
1 parent 5010c0b commit a4a00e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgactivity/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def pg_get_active_connections(self) -> int:
"""

if self.pg_num_version < 90200:
query = queries.get("get_active_connections.sql")
query = queries.get("get_active_connections")
else:
query = queries.get("get_active_connections_post_90200")

Expand Down

0 comments on commit a4a00e0

Please sign in to comment.