Re: Long running queries and timeouts - Mailing list pgsql-php

From Cornelia Boenigk
Subject Re: Long running queries and timeouts
Date
Msg-id 002601c1a15e$a4d1dfa0$aec1fea9@zwerg98
Whole thread Raw
In response to Re: Long running queries and timeouts  (Chadwick Rolfs <cmr@shell.gis.net>)
Responses Re: Long running queries and timeouts  (jeff fitzmyers <fitz22@earthlink.net>)
List pgsql-php
Hi all

> http://www.php.net/manual/en/function.set-time-limit.php will
allow you to
> set the timeout

This only works if safe mode is off.

If you have a couple of queries in one script you can divide them
up on different pages. Put a redirect at the end of the query. On
the new page the execution time starts new. Normally it is set to
30 seconds in the php.ini file.
Or have a look on the function ini_set()

string ini_set (string varname, string newvalue)

(I have never tested this function;-)

Greetings
Conni





pgsql-php by date:

Previous
From: "Mitch Vincent"
Date:
Subject: Re: Long running queries and timeouts
Next
From: jeff fitzmyers
Date:
Subject: Re: Long running queries and timeouts