Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Neal Clark <nclark@xxxxxxxxxxxxxxxxx> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux