Commit 4f472600 authored by Michael Paquier's avatar Michael Paquier

Fix ORDER BY clause in new regression test of REINDEX CONCURRENTLY

Oversight in bd120809.

Reported-by: Justin Pryzby
Discussion: https://postgr.es/m/20210210065805.GG20012@telsasoft.com
Backpatch-through: 12
parent 092b785f
...@@ -2645,7 +2645,7 @@ SELECT attrelid::regclass, attnum, attstattarget ...@@ -2645,7 +2645,7 @@ SELECT attrelid::regclass, attnum, attstattarget
'concur_exprs_index_expr'::regclass, 'concur_exprs_index_expr'::regclass,
'concur_exprs_index_pred'::regclass, 'concur_exprs_index_pred'::regclass,
'concur_exprs_index_pred_2'::regclass) 'concur_exprs_index_pred_2'::regclass)
ORDER BY 'concur_exprs_index_expr'::regclass::text, attnum; ORDER BY attrelid::regclass::text, attnum;
attrelid | attnum | attstattarget attrelid | attnum | attstattarget
---------------------------+--------+--------------- ---------------------------+--------+---------------
concur_exprs_index_expr | 1 | 100 concur_exprs_index_expr | 1 | 100
......
...@@ -1110,7 +1110,7 @@ SELECT attrelid::regclass, attnum, attstattarget ...@@ -1110,7 +1110,7 @@ SELECT attrelid::regclass, attnum, attstattarget
'concur_exprs_index_expr'::regclass, 'concur_exprs_index_expr'::regclass,
'concur_exprs_index_pred'::regclass, 'concur_exprs_index_pred'::regclass,
'concur_exprs_index_pred_2'::regclass) 'concur_exprs_index_pred_2'::regclass)
ORDER BY 'concur_exprs_index_expr'::regclass::text, attnum; ORDER BY attrelid::regclass::text, attnum;
DROP TABLE concur_exprs_tab; DROP TABLE concur_exprs_tab;
-- Temporary tables and on-commit actions, where CONCURRENTLY is ignored. -- Temporary tables and on-commit actions, where CONCURRENTLY is ignored.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment