in reply to Postgres sth disappears w/Zeus ModPerl

You really shouldn't do this yourself. DBI has it built-in. Look at connect_cached and prepare_cached. These have more safeguards built in.
  • Comment on Re: Postgres sth disappears w/Zeus ModPerl

Replies are listed 'Best First'.
Re^2: Postgres sth disappears w/Zeus ModPerl
by jck000 (Novice) on Apr 22, 2009 at 14:26 UTC
    I had tried prepare_cached. Same results.
      There's an optional argument to prepare_cached which will just create a new statement if the old one doesn't work. You may also want to ask on the dbi-users list where someone may have seen this before.