Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

DBD::Pg crashing on win32?

by johnnywang (Priest)
on Jan 29, 2006 at 01:13 UTC ( #526239=perlquestion: print w/replies, xml ) Need Help??

johnnywang has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I've installed DBD::Pg from, the installation went fine. But when I tried to connect to a local postgres 8.0.1 server, my program just crashes. Anyone else has seen this or has successfully used DBD::Pg on win32? I'm using ActiveState 5.8.3 build 809, on windows XP.

Replies are listed 'Best First'.
Re: DBD::Pg crashing on win32?
by randyk (Parson) on Jan 30, 2006 at 04:41 UTC
    • Is the problem just at the connection stage?
    • When it crashes, is there any accompanying message with additional information?
    • Are there any environment variables that might need setting?
    • Does your PATH environment variable include any directories containing necessary PostgreSQL dlls?
      It happens on the connect(), and the console shows: "DBD::PgPP::st execute failed: Unknown message type: ' at line 7.", where line 7 is the call to connect().
Re: DBD::Pg crashing on win32?
by Anonymous Monk on Jan 30, 2006 at 11:23 UTC
    Any errors in windows Event Viewer?

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://526239]
Approved by moot
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2023-02-04 03:31 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (30 votes). Check out past polls.