Re: problem with select after updating

Поиск
Список
Период
Сортировка
От Robert B. Easter
Тема Re: problem with select after updating
Дата
Msg-id 200112101852.fBAIqsE32527@comptechnews.com
обсуждение исходный текст
Ответ на problem with select after updating  ("Raul DAVIDOVICH" <R.DAVIDOVICH@cvitkovic-ac.fr>)
Список pgsql-general
SQL doesn't specify how updates/inserts etc. will affect ordering of rows in
a table. If you need a specific ordering of results, you always must use
ORDER BY. There is no guarantee of ordering otherwise.

Bob


On Monday 10 December 2001 11:07 am, Raul DAVIDOVICH wrote:
> Hello,
>
>      I'm having a problem when updating a row.. after comiting the change,
> the row appears at the end of the list, and from there on, it stays there
> until the next update.
>      This happens when using both JDBC or psql. Normally, rows shouldn't
> change the order after updates. Am I messing it up with the indexes?
>
> thank you very much in advance
>
> ---------------------------------------------------
> Raul Davidovich
> Responsable Informatique
> Cvitkovic & Associés Consultants
>
> (33) 1 45 15 40 68
> (33) 1 45 15 40 41 Fax
> -------------------------------------------------------
> http://www.caconcology.com
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org

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

Предыдущее
От: Jason Earl
Дата:
Сообщение: Re: use BLOBS or use pointers to files on the filesystem?
Следующее
От: "Boban Acimovic"
Дата:
Сообщение: Re: How to get database schema without pg_dump?