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

libpq++ ---- PgDatabase instance problem

From: inkle c <inkle99(at)yahoo(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: libpq++ ---- PgDatabase instance problem
Date: 1999-08-20 04:22:34
Message-ID: 19990820042234.8172.rocketmail@web504.yahoomail.com (view raw or flat)
Thread:
Lists: 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


Responses

pgsql-interfaces by date

Next:From: rjdDate: 1999-08-20 07:06:14
Subject: Re: [INTERFACES] Survey
Previous:From: inkle cDate: 1999-08-20 04:12:00
Subject: libpq++ ---- PgDatabase instance problem

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