From: Markus Schaber <schabi@logix-tt.com>
To: Marcos <mjs_ops@gmx.net>
Cc: Michael Fuhr <mike@fuhr.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Use of Stored Procedures and
Date: Thu, 19 Jan 2006 12:15:09 +0100
Message-ID: <43CF74BD.7000100@logix-tt.com> (raw)
In-Reply-To: <1137660256.930.7.camel@servidor>
References: <1137488693.971.23.camel@servidor>
<20060118202825.GA94306@winnie.fuhr.org>
<1137660256.930.7.camel@servidor>
Hi, Marcos,
Marcos wrote:
>>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.
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.
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: schabi@logix-tt.com, mjs_ops@gmx.net, mike@fuhr.org
Subject: Re: Use of Stored Procedures and
In-Reply-To: <43CF74BD.7000100@logix-tt.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox