I normally don't like to link to other people's blogs, but this is one announcement I think people may have missed, that is extremely exciting.
It looks like the driver to everybody's favourite ACID-compliant database is getting a major new release!
http://xrl.us/beden
Yeah this looks cool. Asychronous query capability, that's hot.
Re:Async++
kaare on 2008-01-18T08:26:12
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?Re:Async++
phaylon on 2008-01-18T14:54:08
Looks pretty straight forward to me
:) Re:Async++
kaare on 2008-01-23T10:03:48
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.
Re:Async++
stu42j on 2008-01-23T18:41:01
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.