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 4961E9DC850 for ; Thu, 19 Jan 2006 08:20:58 -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 01696-08 for ; Thu, 19 Jan 2006 08:20:58 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.logix-tt.com (serval.logix-tt.com [213.239.221.42]) by postgresql.org (Postfix) with ESMTP id A777D9DC841 for ; Thu, 19 Jan 2006 08:20:53 -0400 (AST) Received: from kingfisher.intern.logix-tt.com (Meb96.m.pppool.de [89.49.235.150]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id 8849E24400F; Thu, 19 Jan 2006 13:20:56 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id 5BDAC18148C2D; Thu, 19 Jan 2006 13:20:57 +0100 (CET) Message-ID: <43CF8429.6070401@logix-tt.com> Date: Thu, 19 Jan 2006 13:20:57 +0100 From: Markus Schaber Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Debian Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marcos , pgsql-performance@postgresql.org Subject: Re: Use of Stored Procedures and References: <1137488693.971.23.camel@servidor> <20060118202825.GA94306@winnie.fuhr.org> <1137660256.930.7.camel@servidor> <43CF74BD.7000100@logix-tt.com> <1137663777.930.10.camel@servidor> In-Reply-To: <1137663777.930.10.camel@servidor> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.125 required=5 tests=[AWL=0.125] X-Spam-Score: 0.125 X-Spam-Level: X-Archive-Number: 200601/326 X-Sequence-Number: 16804 Hi, Marcos, Marcos wrote: >>Which interface are you using to connect to PostgreSQL? libpq, libpqxx, >>pgjdbc, python-popy? >> >>E. G. PGJDBC handles prepared plans transparently by using the >>PreparedStatement class. >> >>If you use command line PSQL, you can use the PREPARE commands. > > I'm using the adodb to call the stored procedure (plpgsql). So your statements are inside a plpgsql stored procedure, important to know that. AFAIK, plpgsql uses prepared statements internally, so it should not be necessary to use them explicitly. Markus -- Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org