refactor: Remove useless DISTINCT

There is already a GROUP BY in the same SELECT.
This commit is contained in:
Wolfgang Walther
2024-07-09 08:31:31 +02:00
committed by Wolfgang Walther
parent dfb0be9354
commit 6581663da9
+1 -1
View File
@@ -680,7 +680,7 @@ tablesSqlQuery =
AND nc.nspname = ANY($$1)
),
columns_agg AS (
SELECT DISTINCT
SELECT
info.table_schema AS table_schema,
info.table_name AS table_name,
array_agg(row(