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

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: (view raw, whole thread or download thread mbox)
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

pgsql-patches by date

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

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