From 04a5641fd3f36a4f20b4894b68f151d3b296b382 Mon Sep 17 00:00:00 2001 From: Lucas Date: Fri, 8 Sep 2023 12:12:07 +0800 Subject: [PATCH] format sql Co-authored-by: Yuri Astrakhan --- martin/src/pg/scripts/query_available_tables.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/martin/src/pg/scripts/query_available_tables.sql b/martin/src/pg/scripts/query_available_tables.sql index 84d5db071..8fbd3d54a 100755 --- a/martin/src/pg/scripts/query_available_tables.sql +++ b/martin/src/pg/scripts/query_available_tables.sql @@ -55,7 +55,7 @@ WITH SELECT pg_namespace.nspname AS schema_name, relname AS table_name, - CAST ( obj_description ( relfilenode, 'pg_class' ) AS VARCHAR ) AS description + CAST(obj_description(relfilenode, 'pg_class') AS VARCHAR) AS description FROM pg_class JOIN pg_namespace ON pg_class.relnamespace = pg_namespace.oid WHERE relkind = 'r' OR relkind = 'v'