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);