How does pg work? - Mailing list pgsql-interfaces

From Björn Lundin
Subject How does pg work?
Date
Msg-id 9me804$6pd$1@news.tht.net
Whole thread Raw
List pgsql-interfaces
Hi!
I'm looking at the ADA interface to Postgres (gnade). A part of it is an 
ADA package working as a wrapper to libpq. By looking at the programmer's 
guide to libpq, the far most used expression is a call to PQExec. With this 
I start a transaction , executes statements and commit/rolback the 
transaction. So far I understand. But isn't there a sql-cache somewhere 
ready to execute the same statement with other parameters ? 
The JDBC interface supports prepared statements. Does libpq do this as 
well, and if so, how is that accomplished ?

If there is no support for prepared statements, isn't speed suffering then ?


Björn Lundin



pgsql-interfaces by date:

Previous
From: Peter Wasem
Date:
Subject: JDBC: Exception when calling ResultSet.previous()
Next
From: Michael Meskes
Date:
Subject: Re: Documentation on ECPG