Re: Long running queries and timeouts

From: "Cornelia Boenigk" <poppcorn(at)cornelia-boenigk(dot)de>
To: "Mitch Vincent" <mitch(at)doot(dot)org>, <pgsql-php(at)postgresql(dot)org>
Subject: Re: Long running queries and timeouts
Date: 2002-01-20 02:59:42
Message-ID: 002601c1a15e$a4d1dfa0$aec1fea9@zwerg98
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Masaru Sugawara 2002-01-20 08:29:22 Re: failure to always use index on similar databases with eual queries
Previous Message Bruce Momjian 2002-01-20 00:34:39 Re: "IS NOT NULL" != "NOT NULL"

Browse pgsql-php by date

  From Date Subject
Next Message jeff fitzmyers 2002-01-20 14:56:42 Re: Long running queries and timeouts
Previous Message Mitch Vincent 2002-01-20 00:10:15 Re: Long running queries and timeouts