On Aug 16, 2006, at 3:46 PM, Perrin Harkins wrote:
On Wed, 2006-08-16 at 21:03 +0200, Jiří Pavlovský wrote:
I think I see a place in my
program where it crashes. It is a initialization routine I call on
startup to get data from db and populate some caches. I can't see
anything wrong in my perl code. I just do a 'SELECT' query there.
I haven't done much with DBD::Pg, but that sounds like it should be
fine. Maybe you have Postgres libs compiled into this server for
something else, like PHP? You might want to try a command-line
DBD::Pg
script too.
I'm using DBD::Pg fine in a startup routine to cache data.
I'll second the namespace collision possibility.
First I'd check to make sure that the line is indeed pg
do a few print STDERR lines around the connect and queries, and tail
the error log-- see what its failing on and what its working fine with.