Re: Sequences in transaction

Поиск
Список
Период
Сортировка
От Mike Castle
Тема Re: Sequences in transaction
Дата
Msg-id 20001205120138.D17698@thune.mrc-home.org
обсуждение исходный текст
Ответ на Re: Sequences in transaction  (Camm Maguire <camm@enhanced.com>)
Список pgsql-general
On Tue, Dec 05, 2000 at 12:03:40PM -0500, Camm Maguire wrote:
> need to be able to *quickly* select a pair of *adjacent* rows in a
> table.  t2.seq = t1.seq + 1 seems to work pretty well.  Of course, I

What's wrong with a select ... order by .. limit 2 ?

mrc
--
       Mike Castle       Life is like a clock:  You can work constantly
  dalgoda@ix.netcom.com  and be right all the time, or not work at all
www.netcom.com/~dalgoda/ and be right at least twice a day.  -- mrc
    We are all of us living in the shadow of Manhattan.  -- Watchmen

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

Предыдущее
От: "Adam Lang"
Дата:
Сообщение: Open Source Article
Следующее
От: Nico D
Дата:
Сообщение: Re: inheritance and foreign keys