Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Need help with DBD::Pg

by Miguel (Friar)
on Feb 23, 2005 at 21:48 UTC ( #433867=note: print w/ replies, xml ) Need Help??


in reply to Re: Need help with DBD::Pg
in thread Need help with DBD::Pg

> Does the statement prepare fine?
As far as I can see, that is the problem. It does not prepare fine.

>Do you have RaiseError turned on at the database handle level?
Yes: $dbh->{RaiseError} = 1;

>Does setting the trace on the database handle give you anything meaningful?
Good question. I don't know. Never done that. And don't know how to do that.

The strange thing, at least to me, is that it was working quite well before the upgrade.


Comment on Re^2: Need help with DBD::Pg
Download Code
Re^3: Need help with DBD::Pg
by thor (Priest) on Feb 24, 2005 at 12:17 UTC
    As far as I can see, that is the problem. It does not prepare fine.
    I got the impression from your original post that it failing on the execute. If it is indeed the prepare, then nothing to see here
    >Does setting the trace on the database handle give you anything meaningful?
    Good question. I don't know. Never done that. And don't know how to do that.
    Take a look at the DBI perldoc for a heading called "Tracing". There's no way that I can do it justice here.

    thor

    Feel the white light, the light within
    Be your own disciple, fan the sparks of will
    For all of us waiting, your kingdom will come

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2014-09-21 23:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (176 votes), past polls