Re: Use of Stored Procedures and

From: Markus Schaber <schabi(at)logix-tt(dot)com>
To: Marcos <mjs_ops(at)gmx(dot)net>
Cc: Michael Fuhr <mike(at)fuhr(dot)org>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Use of Stored Procedures and
Date: 2006-01-19 11:15:09
Message-ID: 43CF74BD.7000100@logix-tt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Markus Schaber 2006-01-19 12:20:57 Re: Use of Stored Procedures and
Previous Message Marcos 2006-01-19 09:42:57 Re: Use of Stored Procedures and