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 forsomething else, like PHP? You might want to try a command-line DBD::Pgscript 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 pgdo 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.
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.