Re: Web + Slicing/Paging datas

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Web + Slicing/Paging datas
Дата
Msg-id 49F01762.4090608@hogranch.com
обсуждение исходный текст
Ответ на Web + Slicing/Paging datas  (durumdara <durumdara@gmail.com>)
Ответы Re: Web + Slicing/Paging datas  (durumdara <durumdara@gmail.com>)
Список pgsql-general
durumdara wrote:
> Hi!
>
> In a mod_py application I wanna write a wrapper that handle all PSQL
> data view with paging/slicing.
>
> ..
> Inserts all records to a temp table.
> Check the affected rows (as count).
> Slicing the records.
> Fetch the slice records.
> Destroy temp table.


how about KEEPING the data in this slice format, and keeping the count
somewhere ?  you'd need to update the count and slice info when new data
gets added, but perhaps thats better than doing it every time you want
to view a slice?



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

Предыдущее
От: durumdara
Дата:
Сообщение: Web + Slicing/Paging datas
Следующее
От: Seref Arikan
Дата:
Сообщение: Re: Help request to improve function performance