Re: [HACKERS] Restructuring plancache.c API

2010-11-12 Thread Tom Lane
Alvaro Herrera writes: > Excerpts from Tom Lane's message of jue nov 11 19:21:34 -0300 2010: >> I think that what we need to do is restructure the API of >> plancache.c to make it more amenable to returning "throwaway" plans. > I was wondering if this could help with the separation of labour of >

Re: [HACKERS] Restructuring plancache.c API

2010-11-12 Thread Alvaro Herrera
Excerpts from Tom Lane's message of jue nov 11 19:21:34 -0300 2010: > I've been thinking about supporting automatic replan of cached plans > using specific parameter values, as has been discussed several times, > at greatest length in this thread: > http://archives.postgresql.org/pgsql-hackers/2010

Re: [HACKERS] Restructuring plancache.c API

2010-11-12 Thread Yeb Havinga
On 2010-11-11 23:21, Tom Lane wrote: I've been thinking about supporting automatic replan of cached plans using specific parameter values, as has been discussed several times, at greatest length in this thread: http://archives.postgresql.org/pgsql-hackers/2010-02/msg00607.php .. I want to rearr

[HACKERS] Restructuring plancache.c API

2010-11-11 Thread Tom Lane
I've been thinking about supporting automatic replan of cached plans using specific parameter values, as has been discussed several times, at greatest length in this thread: http://archives.postgresql.org/pgsql-hackers/2010-02/msg00607.php There doesn't seem to be full consensus about what the cont