Re: APC/socket fix (final?)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: "Claudio Natoli" <claudio(dot)natoli(at)memetrics(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: APC/socket fix (final?)
Date: 2004-03-26 23:19:26
Message-ID: 28408.1080343166@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

"Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
>>> No need to touch the frontend parts at all. Our APCs are server side
>>> only, so it's not a problem there.
>>
>> Oh really? What if the surrounding app uses APCs?

> Then I'd say it's that apps problem. And it's clearly nothing new - the
> problem has existed before.

Not if the app itself doesn't use the broken select() code. In that
scenario, it's *our* problem and not the app's.

> I don't think it's a good idea in general to redefine something as
> fundamental as select, send, recv etc from libpq-fe.h (or files included
> from there).

Certainly not; the redefinition would have to be in files that are not
part of the exported API. However this is not difficult. port.h is not
included by libpq-fe.h.

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2004-03-26 23:22:31 Re: APC/socket fix (final?)
Previous Message Magnus Hagander 2004-03-26 23:16:02 Re: APC/socket fix (final?)