Re: libpq++

From: Justin Banks <justinb(at)mr-boo(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: justinb(at)tricord(dot)com, PostgreSQL-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: libpq++
Date: 2001-04-30 12:53:02
Message-ID: 15085.24280.868910.556829@dervish.mr-boo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

>>>>> "Bruce" == Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:

Bruce> I am not so much the libpq++ maintainer as the one who applies
Bruce> people's patches. There is an interfaces list that would love to
Bruce> hear about your work. I am CC'ing them on this. We certainly need
Bruce> libpq++ improvements. If you would prefer not to deal with the
Bruce> interfaces list, send something to me and I will send it over there.

As one would have expected, I've found a problem. The c++ std. says that
Automatic objects are not destroyed as a result of calling exit(), and so, a
automatic PgDatabase in main() (or most anywhere, actually), would not have
it's destructor called during an exit(), thereby leaving junk shm. segments
around. I'm not sure that an atexit can be called on a member function with no
argument, so I'll do some experimenting with macros and temporary block
insertion. Better ideas welcome ;)

-justinb

--
Justin Banks @ home
'We have no intention of shipping another bloated operating system and
forcing that down the throats of our Windows customers'
-- Paul Maritz, Microsoft Group Vice President

In response to

  • Re: libpq++ at 2001-04-29 20:04:49 from Bruce Momjian

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Constantin Teodorescu 2001-04-30 13:55:02 MULTIPLE OUTER JOIN SYNTAX :-( can't quess it
Previous Message Sandro Dentella 2001-04-30 08:56:00 function returning NULL?