From a4a00e02b326d1992a61fc446e4aabd3b2917678 Mon Sep 17 00:00:00 2001 From: Denis Laxalde Date: Thu, 11 Mar 2021 08:48:53 +0100 Subject: [PATCH] Fix query name for 'get_active_connections' Remove .sql suffix. --- pgactivity/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgactivity/data.py b/pgactivity/data.py index 175fd142..311de35f 100644 --- a/pgactivity/data.py +++ b/pgactivity/data.py @@ -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")