From: Bruno Wolff III <bruno@wolff.to>
To: Martin Schäfer <Martin.Schaefer@cadcorp.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: How to find out programmatically whether a query on a view will use an index?
Date: Tue, 25 Jan 2005 11:40:23 -0600
Message-ID: <20050125174023.GA13418@wolff.to> (raw)
In-Reply-To: <37936EEC582B394A9E1AA951991A551609D274@dev001_pdc.Dev.cadcorp.net>
References: <37936EEC582B394A9E1AA951991A551609D274@dev001_pdc.Dev.cadcorp.net>
On Mon, Jan 24, 2005 at 16:34:09 -0000,
Martin Schäfer <Martin.Schaefer@cadcorp.com> wrote:
>
> I'm using the PostGIS spatial extension. Some of my spatial queries (like
> live zooming and panning) should only be performed when the column
> containing the spatial data is spatially indexed, otherwise the first query
> takes almost forever and users will just kill the application out of
> frustration.
If the real problem is long running queries, maybe using a statement timeout
will solve your problem?
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: bruno@wolff.to, Martin.Schaefer@cadcorp.com
Subject: Re: How to find out programmatically whether a query on a view will use an index?
In-Reply-To: <20050125174023.GA13418@wolff.to>
* 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