"DBD::Pg ping test" coming back for unrelated queries from DBI

Andy Wardley abw at wardley.org
Thu Jan 5 18:30:47 GMT 2006


Toby Corkindale wrote:
> Everything works fine for purely sequential queries.
> The problem occurs when several simultaneous queries are made, on several
> processes.

Best guesses:

* two separate queries are calling fetchrow_xxx() and getting each other's 
  results (the same reference is returned for each fetch).

* if you're running identical queries then theres's a chance that you're
  getting a collision in the prepare_cached method?  See the caveat emptor
  under "prepare_cached" in the DBI docs.

HTH
A



More information about the london.pm mailing list