I've recently been banging my head against the wall because I was getting a number of selects that would occasionally return zero rows, even though 1 or more rows should have been returned. I cannot reproduce the problem with pg_connect. The problem only occurs when I am using pg_pconnect. Has anyone run across this behavior? Any ideas why this might be occuring? Is it an apache issue? Matt Friedman