| От | Douglas McNaught |
|---|---|
| Тема | Re: DBD::Pg/perl question, kind of... |
| Дата | |
| Msg-id | 877itmljqb.fsf@suzuka.mcnaught.org обсуждение исходный текст |
| Ответ на | Re: DBD::Pg/perl question, kind of... ("Albe Laurenz" <all@adv.magwien.gv.at>) |
| Ответы |
Re: DBD::Pg/perl question, kind of...
|
| Список | pgsql-general |
"Albe Laurenz" <all@adv.magwien.gv.at> writes: > So there is no automatic way of handling it. > > You will probably have to consider it in your code and use > SELECT-Statements > with a LIMIT clause. Either that, or explicitly DECLARE a CURSOR and use FETCH from that cursor in batches. You can do this in Perl even though the automatic cursor support is not yet there. You are restricted to staying in a transaction while the cursor is open, so if you want to work outside of transactions LIMIT/OFFSET is your only way. -Doug
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера