Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Postgres sth disappears w/Zeus ModPerl

by perrin (Chancellor)
on Apr 21, 2009 at 19:11 UTC ( #759089=note: print w/replies, xml ) Need Help??

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://759089]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2019-12-08 10:08 GMT
Find Nodes?
    Voting Booth?

    No recent polls found