mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-30 13:41:20 +02:00
Add another ORDER BY to rules test to eliminate platform-specific
output ordering.
This commit is contained in:
parent
fccde77ecb
commit
58a02c9905
@ -1121,7 +1121,7 @@ SELECT * FROM shoelace_log ORDER BY sl_name;
|
|||||||
SELECT * FROM shoelace_obsolete WHERE sl_avail = 0;
|
SELECT * FROM shoelace_obsolete WHERE sl_avail = 0;
|
||||||
insert into shoelace values ('sl9', 0, 'pink', 35.0, 'inch', 0.0);
|
insert into shoelace values ('sl9', 0, 'pink', 35.0, 'inch', 0.0);
|
||||||
insert into shoelace values ('sl10', 1000, 'magenta', 40.0, 'inch', 0.0);
|
insert into shoelace values ('sl10', 1000, 'magenta', 40.0, 'inch', 0.0);
|
||||||
SELECT * FROM shoelace_obsolete;
|
SELECT * FROM shoelace_obsolete ORDER BY sl_len_cm;
|
||||||
sl_name | sl_avail | sl_color | sl_len | sl_unit | sl_len_cm
|
sl_name | sl_avail | sl_color | sl_len | sl_unit | sl_len_cm
|
||||||
------------+----------+------------+--------+----------+-----------
|
------------+----------+------------+--------+----------+-----------
|
||||||
sl9 | 0 | pink | 35 | inch | 88.9
|
sl9 | 0 | pink | 35 | inch | 88.9
|
||||||
|
@ -679,7 +679,7 @@ SELECT * FROM shoelace_log ORDER BY sl_name;
|
|||||||
insert into shoelace values ('sl9', 0, 'pink', 35.0, 'inch', 0.0);
|
insert into shoelace values ('sl9', 0, 'pink', 35.0, 'inch', 0.0);
|
||||||
insert into shoelace values ('sl10', 1000, 'magenta', 40.0, 'inch', 0.0);
|
insert into shoelace values ('sl10', 1000, 'magenta', 40.0, 'inch', 0.0);
|
||||||
|
|
||||||
SELECT * FROM shoelace_obsolete;
|
SELECT * FROM shoelace_obsolete ORDER BY sl_len_cm;
|
||||||
SELECT * FROM shoelace_candelete;
|
SELECT * FROM shoelace_candelete;
|
||||||
|
|
||||||
DELETE FROM shoelace WHERE EXISTS
|
DELETE FROM shoelace WHERE EXISTS
|
||||||
|
Loading…
Reference in New Issue
Block a user