http://www.perlmonks.org?node_id=526239

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

Hi, I've installed DBD::Pg from http://theoryx5.uwinnipeg.ca/ppms/, 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 test.pl 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?