Commit ed7f7800 authored by Bruce Momjian's avatar Bruce Momjian

Fix ordering regression problem on freebsd/alpha by adding ORDER BY.

parent f486f924
...@@ -1002,7 +1002,7 @@ SELECT * FROM shoelace ORDER BY sl_name; ...@@ -1002,7 +1002,7 @@ SELECT * FROM shoelace ORDER BY sl_name;
sl8 | 1 | brown | 40 | inch | 101.6 sl8 | 1 | brown | 40 | inch | 101.6
(8 rows) (8 rows)
SELECT * FROM shoe_ready WHERE total_avail >= 2; SELECT * FROM shoe_ready WHERE total_avail >= 2 ORDER BY 1;
shoename | sh_avail | sl_name | sl_avail | total_avail shoename | sh_avail | sl_name | sl_avail | total_avail
------------+----------+------------+----------+------------- ------------+----------+------------+----------+-------------
sh1 | 2 | sl1 | 5 | 2 sh1 | 2 | sl1 | 5 | 2
......
...@@ -585,7 +585,7 @@ INSERT INTO shoelace_data VALUES ('sl8', 1, 'brown', 40 , 'inch'); ...@@ -585,7 +585,7 @@ INSERT INTO shoelace_data VALUES ('sl8', 1, 'brown', 40 , 'inch');
-- SELECTs in doc -- SELECTs in doc
SELECT * FROM shoelace ORDER BY sl_name; SELECT * FROM shoelace ORDER BY sl_name;
SELECT * FROM shoe_ready WHERE total_avail >= 2; SELECT * FROM shoe_ready WHERE total_avail >= 2 ORDER BY 1;
CREATE TABLE shoelace_log ( CREATE TABLE shoelace_log (
sl_name char(10), -- shoelace changed sl_name char(10), -- shoelace changed
......
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