Hmmm.... that's odd. I had a friend that had a query that took a long time and we changed that and it worked... weird. Well, ignore my posts then. Adam Lang Systems Engineer Rutgers Casualty Insurance Company http://www.rutgersinsurance.com ----- Original Message ----- From: "Papp Gyozo" <pgerzson@xxxxxxxxxxxx> To: "Josh Berkus" <josh@xxxxxxxxxxxx>; <pgsql-php@xxxxxxxxxxxxxx> Sent: Friday, October 05, 2001 12:16 PM Subject: Re: [PHP] Help with timeouts > > Hello, > > from the PHP manual: > " > Note: The set_time_limit() function and the configuration directive > max_execution_time only affect the execution time of the script itself. Any > time spent on activity that happens outside the execution of the script such > as system calls using system(), the sleep() function, database queries, etc. > is not included when determining the maximum time that the script has been > running. > " > > So is there anything you forgot to mention ;) > I mean everything works fine except this query or you couldn't test the page > without the result. > > Have you tried to optimize this query? > Maybe post to this list and wait for some suggestions...