Re: Prepared statements considered harmful - Mailing list pgsql-hackers

From Csaba Nagy
Subject Re: Prepared statements considered harmful
Date
Msg-id 1157040848.3033.78.camel@coppola.muc.ecircle.de
Whole thread Raw
In response to Re: Prepared statements considered harmful  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Neither of these problems have anything to do with statistics getting
> stale.

... and the second one would benefit from a "meta-plan" facility which
puts some "meta-plan" nodes on top of specific plans to dispatch based
on parameter values at runtime.

Incidentally, the dispatch could check the statistics assumptions too.
If you don't need to do the planning for each execution, you could
afford to check the assumptions for each execution instead...

Cheers,
Csaba.




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Prepared statements considered harmful
Next
From: AgentM
Date:
Subject: Re: Prepared statements considered harmful