Re: Prepared statments: partial indexes are avoided!

From: bricklen <bricklen(at)gmail(dot)com>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Prepared statments: partial indexes are avoided!
Date: 2011-06-21 22:35:49
Message-ID: BANLkTinZ8e4b9=nZTGP=Ztuw66AUCra6uA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, Jun 20, 2011 at 7:06 AM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
> Unfortunately, prepared statements do act in the way you have seen.
>
> I have a patch into 9.2 under discussion to improve upon this
> situation, but don't hold your breath for that.
>
> --
>  Simon Riggs                   http://www.2ndQuadrant.com/
>  PostgreSQL Development, 24x7 Support, Training & Services
>

I haven't used Oracle in years, but I seem to recall that they had
"bind variable peeking" to work around this type of problem. That
would be interesting to have in PG.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Achilleas Mantzios 2011-06-22 08:14:14 Re: dump from 9.0 to 8.3
Previous Message Achilleas Mantzios 2011-06-21 07:59:15 Re: dump from 9.0 to 8.3