every time I tweak the optimizer...
sl8 | 21|brown | 40|inch | 101.6
(8 rows)
-QUERY: SELECT * FROM shoelace_log;
+QUERY: SELECT * FROM shoelace_log ORDER BY sl_name;
sl_name |sl_avail|log_who |log_when
----------+--------+--------+--------
-sl7 | 6|Al Bundy|epoch
+sl3 | 10|Al Bundy|epoch
sl6 | 20|Al Bundy|epoch
+sl7 | 6|Al Bundy|epoch
sl8 | 21|Al Bundy|epoch
-sl3 | 10|Al Bundy|epoch
(4 rows)
QUERY: CREATE VIEW shoelace_obsolete AS
SELECT * FROM shoelace ORDER BY sl_name;
-SELECT * FROM shoelace_log;
+SELECT * FROM shoelace_log ORDER BY sl_name;
CREATE VIEW shoelace_obsolete AS
SELECT * FROM shoelace WHERE NOT EXISTS