Skip site navigation (1) Skip section navigation (2)

Re: Prepared statements and suboptimal plans

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Andy Lester <andy(at)petdance(dot)com>, Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>, Royce Ausburn <royce(dot)ml(at)inomial(dot)com>, pgsql-performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Prepared statements and suboptimal plans
Date: 2011-09-21 03:43:38
Message-ID: 13063.1316576618@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-performance
Stephen Frost <sfrost(at)snowman(dot)net> writes:
> * Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) wrote:
>> really pretty simple: decide whether to use a custom (parameter-aware)
>> plan or a generic (not-parameter-aware) plan.  

> Before I go digging into this, I was wondering, is this going to address
> our current problem of not being able to use prepared queries and
> constraint exclusion..?

Possibly ... you didn't say exactly what your problem consists of.

			regards, tom lane

In response to

pgsql-performance by date

Next:From: Hany ABOU-GHOURYDate: 2011-09-21 03:57:44
Subject: PG 9 adminstrations
Previous:From: Stephen FrostDate: 2011-09-21 02:38:30
Subject: Re: Prepared statements and suboptimal plans

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group