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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-performance by date

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