Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Yeah this looks cool. Asychronous query capability, that's hot.

    • by kaare (663) on 2008.01.18 3:26 (#60338) Journal
      I haven't had time to look at the docs. I wonder how async q's are going to work.

      Isn't this the first implementation of this feature for a DBI module?
      • --
        Ordinary morality is for ordinary people. -- Aleister Crowley
        • I wonder why it's a DB handle method. How do you keep track of several async queries?

          pg_ready can be called on a statement handle. But pg_result can not. So no help there.

          Can you only have one async query at any given time? Guess I have to try it out.
          • That's the impression that I get as well - one query at a time. So, you can start a slow query and do other stuff while waiting, just not other database stuff. Or you can have multiple handles. Perhaps one handle for quick stuff and another async handle for the slow queries.