Not sure what you trying to achieve, you could give a try for MaterializedViews[1], see would this help you or not.
1. http://www.postgresql.org/docs/9.3/static/rules-materializedviews.html2. http://www.postgresql.org/docs/9.3/static/sql-creatematerializedview.html
Regards,Amul Sul
--View this message in context: http://postgresql.nabble.com/Alternate-or-Optimization-for-with-hold-cursor-tp5903211p5903233.htmlSent from the PostgreSQL - general mailing list archive at Nabble.com.