X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 078629DCA03 for ; Wed, 18 Jan 2006 19:14:41 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 58199-01 for ; Wed, 18 Jan 2006 19:14:43 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from s2.yuriev.com (s2.yuriev.com [69.31.8.140]) by postgresql.org (Postfix) with SMTP id C6A659DC9A9 for ; Wed, 18 Jan 2006 19:14:34 -0400 (AST) Received: (qmail 25948 invoked by uid 500); 18 Jan 2006 23:17:21 -0000 Date: Wed, 18 Jan 2006 18:17:14 -0500 From: alex-lists-pgsql@yuriev.com To: pgsql-sql@postgresql.org Subject: stored procedures for complex SELECTs Message-ID: <20060118231714.GA10125@s2.yuriev.com> Reply-To: alex-lists-pgsql@yuriev.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.67 required=5 tests=[AWL=0.120, NO_REAL_NAME=0.55] X-Spam-Score: 0.67 X-Spam-Level: X-Archive-Number: 200601/125 X-Sequence-Number: 23914 Are there performance advantages that can be achieved by wrapping a complex SELECT into a stored procedure? Alex