mirror of https://github.com/citusdata/citus.git
style update
parent
fcd72d26d4
commit
e5d154ae65
|
@ -0,0 +1 @@
|
|||
Subproject commit 3376bd6845f0614908ed304f5033bd644c82d3bf
|
|
@ -27,7 +27,7 @@ ALTER STATISTICS s3 SET STATISTICS 46;
|
|||
-- 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.
|
||||
-- https://github.com/postgres/postgres/commit/012460ee93c304fbc7220e5b55d9d0577fc766ab
|
||||
SELECT
|
||||
SELECT
|
||||
nullif(stxstattarget, -1) AS stxstattarget,
|
||||
stxrelid::regclass
|
||||
FROM pg_statistic_ext
|
||||
|
@ -37,12 +37,12 @@ WHERE stxnamespace IN (
|
|||
WHERE nspname IN ('statistics''TestTarget')
|
||||
)
|
||||
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) NULLS FIRST, -- Use NULLS FIRST to ensure consistent placement of nulls
|
||||
stxrelid::regclass ASC;
|
||||
stxstattarget | stxrelid
|
||||
---------------------------------------
|
||||
---------------------------------------------------------------------
|
||||
| "statistics'TestTarget".t1_980000
|
||||
| "statistics'TestTarget".t1_980002
|
||||
| "statistics'TestTarget".t1_980004
|
||||
|
|
Loading…
Reference in New Issue