Re: Record order change after update

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Record order change after update
Дата
Msg-id 20040302221617.GC13876@dcc.uchile.cl
обсуждение исходный текст
Ответ на Record order change after update  (Josué Maldonado <josue@lamundial.hn>)
Список pgsql-general
On Tue, Mar 02, 2004 at 04:12:05PM -0600, Josué Maldonado wrote:

> After update a column on a table, that row goes to the top when I do a
> select from that table without any order, is that the expected behavior
> in postgresql?

Yes.

> is there a way to prevent it?

No.  Use ORDER BY.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Los dioses no protegen a los insensatos.  Éstos reciben protección de
otros insensatos mejor dotados" (Luis Wu, Mundo Anillo)

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

Предыдущее
От: Josué Maldonado
Дата:
Сообщение: Record order change after update
Следующее
От: Matt Davies
Дата:
Сообщение: Re: Record order change after update