From cf7e7f21afbf451b930d35c5348c711cc837e4ae Mon Sep 17 00:00:00 2001 From: Aaron3S Date: Thu, 26 Dec 2024 15:00:46 +0800 Subject: [PATCH] fix: pg table detail --- .../postgresql/PostgresqlActionHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/modules/src/main/java/org.jumpserver.chen.modules/postgresql/PostgresqlActionHandler.java b/backend/modules/src/main/java/org.jumpserver.chen.modules/postgresql/PostgresqlActionHandler.java index f06b2b8..d68cf60 100644 --- a/backend/modules/src/main/java/org.jumpserver.chen.modules/postgresql/PostgresqlActionHandler.java +++ b/backend/modules/src/main/java/org.jumpserver.chen.modules/postgresql/PostgresqlActionHandler.java @@ -57,7 +57,7 @@ public EventEmitter onDatabaseProperties(TreeNode node) throws SQLException { } - private static final String SQL_SELECT_TABLE_DETAIL = "SELECT table_name,table_schema,table_type FROM information_schema.tables WHERE table_name = '?"; + private static final String SQL_SELECT_TABLE_DETAIL = "SELECT table_name,table_schema,table_type FROM information_schema.tables WHERE table_name = '?'"; public EventEmitter onTableProperties(TreeNode node) throws SQLException { return this.onShowObjectProperties("table", SQL_SELECT_TABLE_DETAIL, node);