X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 6984C9DCA69 for ; Thu, 19 Jan 2006 06:49:03 -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 87235-07 for ; Thu, 19 Jan 2006 06:49:04 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from mail.gmx.net (mail.gmx.net [213.165.64.21]) by postgresql.org (Postfix) with SMTP id DB9309DCA66 for ; Thu, 19 Jan 2006 06:48:59 -0400 (AST) Received: (qmail invoked by alias); 19 Jan 2006 10:49:01 -0000 Received: from unknown (EHLO servidor) [201.11.58.22] by mail.gmx.net (mp008) with SMTP; 19 Jan 2006 11:49:01 +0100 X-Authenticated: #15924888 Subject: Re: Use of Stored Procedures and From: Marcos To: Michael Fuhr Cc: pgsql-performance@postgresql.org In-Reply-To: <20060118202825.GA94306@winnie.fuhr.org> References: <1137488693.971.23.camel@servidor> <20060118202825.GA94306@winnie.fuhr.org> Content-Type: text/plain Date: Thu, 19 Jan 2006 08:44:16 +0000 Message-Id: <1137660256.930.7.camel@servidor> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200601/323 X-Sequence-Number: 16801 > What statements? Sorry. Statements is my code. > What problem are you trying to solve? I want know how I make to use a prepared plan ( http://www.postgresql.org/docs/8.1/static/sql-prepare.html ). I read that I need to use the SPI_PREPARE and SPI_EXEC in my code, but I didn't understand how make it. Thanks