libpq++ ---- PgDatabase instance problem - Mailing list pgsql-interfaces

From inkle c
Subject libpq++ ---- PgDatabase instance problem
Date
Msg-id 19990820042234.8172.rocketmail@web504.yahoomail.com
Whole thread Raw
Responses Re: [INTERFACES] libpq++ ---- PgDatabase instance problem  ("Patrick Welche" <prlw1@newn.cam.ac.uk>)
List pgsql-interfaces
Hi,

I am writing a small class which has a PgDatabase
instance as its private member, and in the constructor,
I init it to be NULL (i.e.,
myclass::myclass():PgDatabaseInstanceMember(NULL) ), this causes a core
dump, what's wrong with that?

My intension is to get dbname from user's input, then
create the instance using PgDatabase(dbname), because
dbname should be provided by user.

Thanks for any suggestions.

inkle

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com



pgsql-interfaces by date:

Previous
From: inkle c
Date:
Subject: libpq++ ---- PgDatabase instance problem
Next
From: rjd@intekom.co.za
Date:
Subject: Re: [INTERFACES] Survey