Skip site navigation (1) Skip section navigation (2)

How does pg work?

From: Björn Lundin <bjorn(dot)lundin(at)swipnet(dot)se>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: How does pg work?
Date: 2001-08-27 19:45:27
Message-ID: 9me804$6pd$ (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
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

Next:From: Tom LaneDate: 2001-08-27 20:16:57
Subject: libpq++ current sources don't compile with older C++ compilers
Previous:From: Rene PijlmanDate: 2001-08-26 20:46:22
Subject: Re: JDBC: Exception when calling ResultSet.previous()

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group