Re: Record order change after update

From: Matt Davies <matt(at)mattdavies(dot)net>
To: Josué Maldonado <josue(at)lamundial(dot)hn>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Record order change after update
Date: 2004-03-02 22:20:41
Message-ID: 1078266041.404508b99b77e@www.mattdavies.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

My understanding of RDBMs:

you will get all information as indicated by the query in an unsorted order.
Sometimes you get the same order; sometimes you do not.

To ensure expected ordering you must use the ORDER keyword.

Quoting Josué Maldonado <josue(at)lamundial(dot)hn>:

> Hello list,
>
> 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? is there a way to prevent it?
>
> Thanks in advance.
>
> Josué Maldonado
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message scrappy 2004-03-02 23:41:31 Hokki =)
Previous Message Alvaro Herrera 2004-03-02 22:16:17 Re: Record order change after update