Re: sql row constructor...works!

Поиск
Список
Период
Сортировка
От Christopher Browne
Тема Re: sql row constructor...works!
Дата
Msg-id m3vevq3ecv.fsf@mobile.int.cbbrowne.com
обсуждение исходный текст
Ответ на sql row constructor...works!  (Merlin Moncure <mmoncure@gmail.com>)
Ответы Re: sql row constructor...works!  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-hackers
> Josh Berkus <josh@agliodbs.com> writes:
>> It's esoteric enough that I don't know what you're talking about.  Can 
>> you give us an example?
>
> He's talking about this:
> http://archives.postgresql.org/pgsql-performance/2004-07/msg00188.php

Hmm...  

So the example would be that if you have just read a record from t
that gave you value t.a=a1, t.b=b1, t.c=c1, the next one, based on
a,b,c, would be...
       select * from t where a >= a1 and b >= b1 and c >= c1       order by a,b,c       limit 1 offset 1;

Right?
-- 
output = ("cbbrowne" "@" "gmail.com")
http://linuxdatabases.info/info/lsf.html
"It's not  about 'Where do you  want to go today?'";  "It's more like,
'Where am I allowed to go today?'"


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

Предыдущее
От: Rodolfo Campos
Дата:
Сообщение: Problems compiling a trigger
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: streamlined standby procedure