Re: VACUUM FULL changes the order of rows in a table?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: VACUUM FULL changes the order of rows in a table?
Дата
Msg-id 9569.1027496565@sss.pgh.pa.us
обсуждение исходный текст
Ответ на VACUUM FULL changes the order of rows in a table?  (Douglas Trainor <trainor@uic.edu>)
Список pgsql-bugs
Douglas Trainor <trainor@uic.edu> writes:
> WARNING:  Not sure if what I am about to describe is a bug.

As Scott comments, it isn't.  Under *no* circumstances does Postgres
guarantee anything about the physical order of rows in a table.
This is entirely in accordance with the SQL spec --- row ordering is
not considered significant at all in the computational model.  It's
worth noting that ORDER BY is treated by the spec as a mere output
decoration issue; you cannot ORDER the result of a sub-select, only
the final results being sent to the client.  Fundamentally SQL does
not think row order is a valid consideration at all.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_ctl -w option does not behave as documented
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Bug #718: request for improvement of /? to show /d+ /l+ commands