pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martin Schäfer <Martin.Schaefer@cadcorp.com>
To: pgsql-sql@postgresql.org
Subject: Re: How to find out programmatically whether a query on a view will use an index?
Date: Mon, 24 Jan 2005 17:22:00 -0000
Message-ID: <37936EEC582B394A9E1AA951991A551609D276@dev001_pdc.Dev.cadcorp.net> (raw)

> > Is there no way to get a machine readable query plan?
> 
> No, and no such API is likely to be defined in the future either,
> because we reserve the right to change plan structures at any time.

How about a list of the indices used in a query? That alone would
already be very useful.

Martin



view thread (5+ messages)  latest in thread

Message-ID: <37936EEC582B394A9E1AA951991A551609D276@dev001_pdc.Dev.cadcorp.net>
Permalink:  ../37936EEC582B394A9E1AA951991A551609D276@dev001_pdc.Dev.cadcorp.net/
Also on:    postgresql.org/message-id/37936EEC582B394A9E1AA951991A551609D276@dev001_pdc.Dev.cadcorp.net

 · 

reply

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-sql@postgresql.org
  Cc: Martin.Schaefer@cadcorp.com
  Subject: Re: How to find out programmatically whether a query on a view will use an index?
  In-Reply-To: <37936EEC582B394A9E1AA951991A551609D276@dev001_pdc.Dev.cadcorp.net>
  References: <37936EEC582B394A9E1AA951991A551609D276@dev001_pdc.Dev.cadcorp.net>

* 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