perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Sabino Mullane" <g...@turnstep.com>
Subject Re: DBD:Pg (Postgres) + Apache::DBI
Date Sun, 19 Mar 2006 21:04:28 GMT

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> c-      i was getting a bunch of "message type 0x49 arrived from server
> while idle" -> "message type 0x53 arrived from server while idle"

This is due to some errant forking. PostgreSQL (and most other databases
for that matter) does not support forking and then trying to talk to
two clients at once. One of those clients sends something, and the other
one notices the response and basically says "Hey! You talkin' to me?!?"

You are most likely connecting too early. This also explains the other errors
you are seeing. Make sure you use the latest version of DBD::Pg as well,
as some other obscure forking-related problems were recently fixed.

- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200603191601
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iD8DBQFEHcdOvJuQZxSWSsgRAobzAJ9eThLlKi3esmLZcS52TZF5lsycjACdFZNY
Hngofu5QKVcU7k4XspLPsQY=
=raOP
-----END PGP SIGNATURE-----



Mime
View raw message