mirror of https://github.com/citusdata/citus.git
fix whitespace
parent
65a5730611
commit
fcd72d26d4
|
@ -26,7 +26,7 @@ ALTER STATISTICS s3 SET STATISTICS 46;
|
||||||
-- for stxstattarget, re-interpret -1 as null to avoid adding another test output for pg < 17
|
-- for stxstattarget, re-interpret -1 as null to avoid adding another test output for pg < 17
|
||||||
-- Changed stxstattarget in pg_statistic_ext to use nullable representation, removing explicit -1 for default statistics target in PostgreSQL 17.
|
-- Changed stxstattarget in pg_statistic_ext to use nullable representation, removing explicit -1 for default statistics target in PostgreSQL 17.
|
||||||
-- https://github.com/postgres/postgres/commit/012460ee93c304fbc7220e5b55d9d0577fc766ab
|
-- https://github.com/postgres/postgres/commit/012460ee93c304fbc7220e5b55d9d0577fc766ab
|
||||||
SELECT
|
SELECT
|
||||||
nullif(stxstattarget, -1) AS stxstattarget,
|
nullif(stxstattarget, -1) AS stxstattarget,
|
||||||
stxrelid::regclass
|
stxrelid::regclass
|
||||||
FROM pg_statistic_ext
|
FROM pg_statistic_ext
|
||||||
|
@ -36,7 +36,7 @@ WHERE stxnamespace IN (
|
||||||
WHERE nspname IN ('statistics''TestTarget')
|
WHERE nspname IN ('statistics''TestTarget')
|
||||||
)
|
)
|
||||||
AND stxname SIMILAR TO '%\_\d+'
|
AND stxname SIMILAR TO '%\_\d+'
|
||||||
ORDER BY
|
ORDER BY
|
||||||
nullif(stxstattarget, -1) IS NULL DESC, -- Make sure null values are handled consistently
|
nullif(stxstattarget, -1) IS NULL DESC, -- Make sure null values are handled consistently
|
||||||
nullif(stxstattarget, -1) NULLS FIRST, -- Use NULLS FIRST to ensure consistent placement of nulls
|
nullif(stxstattarget, -1) NULLS FIRST, -- Use NULLS FIRST to ensure consistent placement of nulls
|
||||||
stxrelid::regclass ASC;
|
stxrelid::regclass ASC;
|
||||||
|
|
Loading…
Reference in New Issue