Re: DBD::Pg/perl question, kind of...

Поиск
Список
Период
Сортировка
От Douglas McNaught
Тема Re: DBD::Pg/perl question, kind of...
Дата
Msg-id 87bqiyj600.fsf@suzuka.mcnaught.org
обсуждение исходный текст
Ответ на Re: DBD::Pg/perl question, kind of...  (Neal Clark <nclark@securescience.net>)
Список pgsql-general
Neal Clark <nclark@securescience.net> writes:

> comments?

Looks like the right idea.  If you have a lot of rows to process,
you'll benefit by fetching in batches, e.g.

my $sth = $dbh->prepare(qq{FETCH FORWARD 1000 FROM my_cur});

# iterate through the result set here....

-Doug

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

Предыдущее
От: Benjamin Smith
Дата:
Сообщение: Re: How to enforce uniqueness when NULL values are present?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: daylight savings patches needed?