Re: count(*) and bad design was: Experiences with extensibility
В списке pgsql-general по дате отправления:
| От | Ivan Sergio Borgonovo |
|---|---|
| Тема | Re: count(*) and bad design was: Experiences with extensibility |
| Дата | |
| Msg-id | 20080115150311.4fad06fe@webthatworks.it обсуждение исходный текст |
| Ответ на | Re: count(*) and bad design was: Experiences with extensibility (Alban Hertroys <dalroi@solfertje.student.utwente.nl>) |
| Ответы |
Re: count(*) and bad design was: Experiences with extensibility
|
| Список | pgsql-general |
On Tue, 15 Jan 2008 14:43:35 +0100 Alban Hertroys <dalroi@solfertje.student.utwente.nl> wrote: > You need to scroll to the last row to find the size of the result > set, but after that it's pretty easy to return random rows by > scrolling to them (and marking them 'read' in some way to prevent > accidentally returning the same row again). Could you post a snippet of code or something giving a more detailed idea of it? BTW since cursors support offset if you're not interested if the order of the retrieved rows is random too you don't even have to remember which one you read I think. -- Ivan Sergio Borgonovo http://www.webthatworks.it
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера