From: Cornelia Boenigk <poppcorn@cornelia-boenigk.de>
To: Mitch Vincent <mitch@doot.org>
To: pgsql-php@postgresql.org
Subject: Re: Long running queries and timeouts
Date: Sun, 20 Jan 2002 03:59:42 +0100
Message-ID: <002601c1a15e$a4d1dfa0$aec1fea9@zwerg98> (raw)
References: <Pine.SOL.3.96.1020119122652.18364B-100000@shell.gis.net>
<004601c1a146$d6a58940$0200000a@Mitch>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: poppcorn@cornelia-boenigk.de, mitch@doot.org
Subject: Re: Long running queries and timeouts
In-Reply-To: <002601c1a15e$a4d1dfa0$aec1fea9@zwerg98>
References: <Pine.SOL.3.96.1020119122652.18364B-100000@shell.gis.net> <004601c1a146$d6a58940$0200000a@Mitch> <002601c1a15e$a4d1dfa0$aec1fea9@zwerg98>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox