refactor: Remove useless DISTINCT
There is already a GROUP BY in the same SELECT.
This commit is contained in:
committed by
Wolfgang Walther
parent
dfb0be9354
commit
6581663da9
@@ -680,7 +680,7 @@ tablesSqlQuery =
|
|||||||
AND nc.nspname = ANY($$1)
|
AND nc.nspname = ANY($$1)
|
||||||
),
|
),
|
||||||
columns_agg AS (
|
columns_agg AS (
|
||||||
SELECT DISTINCT
|
SELECT
|
||||||
info.table_schema AS table_schema,
|
info.table_schema AS table_schema,
|
||||||
info.table_name AS table_name,
|
info.table_name AS table_name,
|
||||||
array_agg(row(
|
array_agg(row(
|
||||||
|
|||||||
Reference in New Issue
Block a user