WIP patch for plan invalidation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-patches(at)postgreSQL(dot)org
Subject: WIP patch for plan invalidation
Date: 2007-03-11 00:53:51
Message-ID: 10627.1173574431@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

This is what I've done so far on the plan-invalidation project. This
creates a plan cache manager module and restructures things enough for
prepared statements to use it (both those generated at the SQL level
by PREPARE, and those coming from extended query protocol messages).
I haven't yet done anything about plans cached via SPI, and there are
some other open issues too, notably making sure that the search_path
during a replan is the same as it was the first time.

This patch includes getting rid of QueryContext as well as the
ProcessUtility API changes I suggested recently. That makes it a bit
wide-ranging, so I'm inclined to apply it soon before dealing with
SPI and the other loose ends.

Comments?

regards, tom lane

Attachment Content-Type Size
plan-inval-1.patch.gz application/octet-stream 37.9 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Gregory Stark 2007-03-11 02:30:23 Re: WIP patch for plan invalidation
Previous Message Tom Lane 2007-03-10 23:08:12 Re: simply custom variables protection