Re: [Haskell-cafe] The ping method in HDBC

2008-07-01 Thread Agent Zhang
On Mon, Jun 30, 2008 at 9:31 PM, John Goerzen <[EMAIL PROTECTED]> wrote: > > run dbh "SELECT 1" [] > > I note from the Perl DBI documentation that it is not guaranteed that > its ping function actually does anything. Okay, thanks :) > > I am pondering connection pools in HDBC for the future, if I

Re: [Haskell-cafe] The ping method in HDBC

2008-06-30 Thread John Goerzen
Agent Zhang wrote: > Hi, there > > I'm wondering if there's a ping method in HDBC that does the same > thing as Perl DBI's ping. Please see the following link for details: > > http://search.cpan.org/~timb/DBI-1.605/DBI.pm#ping > > I think It's rather important for database auto-connection wh

[Haskell-cafe] The ping method in HDBC

2008-06-28 Thread Agent Zhang
Hi, there I'm wondering if there's a ping method in HDBC that does the same thing as Perl DBI's ping. Please see the following link for details: http://search.cpan.org/~timb/DBI-1.605/DBI.pm#ping I think It's rather important for database auto-connection when preserving database connections