On Sat, 13 Apr 2002 14:21:50 +0800 "Christopher Kings-Lynne" <[EMAIL PROTECTED]> wrote: > Could this cache mechanism be used to make views fast as well?
The current PREPARE/EXECUTE code will speed up queries that use rules of any kind, including views: the query plan is cached after it has been rewritten as necessary, so (AFAIK) this should mean that rules will be evaluated once when the query is PREPAREd, and then cached for subsequent EXECUTE commands. Cheers, Neil -- Neil Conway <[EMAIL PROTECTED]> PGP Key ID: DB3C29FC ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])