Hi,
I did a "vacuum analyse" on a database in PG 7.1b4 and was rather
surprised to find that it breaks my scripts.
Before "vacuum" was run I didn't need an "order by" to get the
selection in crhonological order, but afterwards it *was* needed...
After "vacuum analyse":
infogettable=# SELECT move_id,move_number,player_id,move_date from
bg_moves where game_id=9;
move_id | move_number | player_id | move_date
---------+-------------+-----------+------------------------
84 | 5 | 14 | 2001-05-02 17:17:23+02
87 | 6 | 4 | 2001-05-02 20:40:14+02
91 | 7 | 14 | 2001-05-02 21:36:55+02
93 | 8 | 4 | 2001-05-02 22:04:42+02
94 | 9 | 14 | 2001-05-02 22:11:12+02
95 | 10 | 4 | 2001-05-02 22:25:22+02
*** I suppose I did it here! ***
76 | 2 | 4 | 2001-05-02 11:29:28+02
77 | 3 | 14 | 2001-05-02 13:12:15+02
79 | 4 | 4 | 2001-05-02 13:18:46+02
(9 rows)
infogettable=# SELECT move_id,move_number,player_id,move_date from
bg_moves where game_id=9 order by move_number;
move_id | move_number | player_id | move_date
---------+-------------+-----------+------------------------
76 | 2 | 4 | 2001-05-02 11:29:28+02
77 | 3 | 14 | 2001-05-02 13:12:15+02
79 | 4 | 4 | 2001-05-02 13:18:46+02
84 | 5 | 14 | 2001-05-02 17:17:23+02
87 | 6 | 4 | 2001-05-02 20:40:14+02
91 | 7 | 14 | 2001-05-02 21:36:55+02
93 | 8 | 4 | 2001-05-02 22:04:42+02
94 | 9 | 14 | 2001-05-02 22:11:12+02
95 | 10 | 4 | 2001-05-02 22:25:22+02
(9 rows)
Comments will be highly appreciated,