>> - if more than `connection.prepared_number` queries are prepared, the> one >> used least recently is deallocated and evicted from the cache >> (proposed default: 100). >Why do you need such logic? Why not just keep some limited number of >prepared statements? Is it a problem if a PS is in cache but rarely used?
On resource constrained environments one wants to be able to balance use vs disuse. Here I agree with Adrian: automagic, yes but only if one can opt out by default. Karsten