Re: General question (C++ interfacing to PostgreSQL) - Mailing list pgsql-interfaces

From J. T. Vermeulen
Subject Re: General question (C++ interfacing to PostgreSQL)
Date
Msg-id 20010423161659.E6973@cistron.nl
Whole thread Raw
In response to General question (C++ interfacing to PostgreSQL)  (Carlos Moreno <moreno@mochima.com>)
List pgsql-interfaces
On Sun, 22 Apr 2001, Carlos Moreno wrote:

> First, I'm not quite sure when or how should I use PgDatabase 
> (in the simple tests that I've done so far, I use only PgConnection). 

Use whichever provides functionality you need--it's as simple as that.  If
you want to actually read values from the database (and I guess at some point
you will), use PgDatabase.

The current class hierarchy is a little confusing, and not always for very
good reasons.  So expect them to change radically in the not-too-far future.


Jeroen



pgsql-interfaces by date:

Previous
From: Randall Perry
Date:
Subject: Re: Connecting via perl gives "root" does not exist
Next
From: Randall Perry
Date:
Subject: Var substitution in SELECT statements