Re: Storing an ordered list
От
Michael Artz
Тема
Re: Storing an ordered list
Дата
Msg-id
e9c163070607261713j21d8e9a1n2e2ea25bd30de39c@mail.gmail.com
Ответ на
Re: Storing an ordered list (Bruno Wolff III)
Список
Дерево обсуждения
Storing an ordered list "Michael Artz" <mlartz@gmail.com>
Re: Storing an ordered list Bruno Wolff III <bruno@wolff.to>
Re: Storing an ordered list "Michael Artz" <mlartz@gmail.com>
Re: Storing an ordered list Bruno Wolff III <bruno@wolff.to>
Re: Storing an ordered list "Aaron Bono" <postgresql@aranya.com>
Re: Storing an ordered list "Aaron Bono" <postgresql@aranya.com>
Re: Storing an ordered list "Michael Artz" <mlartz@gmail.com>
On 7/26/06, Bruno Wolff III wrote: > If you use numeric instead of int, then it is easy to insert new values. Hmm, hadn't thought about that. How would you normally implement it? I'm thinking that, if I wanted to insert between A and B, I could take (A.order + B.order)/2, which would be pretty simple. Is there a better way?
В списке pgsql-sql по дате отправления