Re: [HACKERS] libpq++

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vince Vielhaber <vev(at)michvhf(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] libpq++
Date: 1999-04-01 00:58:10
Message-ID: 10209.922928290@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Vince Vielhaber <vev(at)michvhf(dot)com> writes:
> On 01-Apr-99 Tom Lane wrote:
>> I'd also like to see a connection method that interfaces to
>> PQconnectdb() and passes everything in a string, forgetting the
>> pgEnv stuff entirely. That's the only way that won't require
>> further attention if more connection parameters are added to libpq.

> Prior to eliminating anything (like the pgEnv stuff), do we know how
> many people are using libpq++? I'm wondering which would be better,
> clean break or a phase out.

I'd say phase out: there's no reason not to support both styles for a
while (just as libpq is still supporting PQsetdb). But in the long run
I'd like to encourage apps to move towards using the PQconnectdb
interface. The idea is to avoid exactly the problem we see in libpq++:
interface layers that know about a specific set of connection parameters
and have to be fixed anytime more are added.

To answer your question, there are at least some people using libpq++,
since we get bug reports and inquiries about it. Hard to say how many.

regards, tom lane

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-04-01 01:06:26 Re: [HACKERS] Problem with complexer join still persists sometimes
Previous Message Vince Vielhaber 1999-04-01 00:30:20 Re: [HACKERS] libpq++