From: | "Magnus Hagander" <mha(at)sollentuna(dot)net> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
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:22:31 |
Message-ID: | 6BCB9D8A16AC4241919521715F4D8BCE34B5FA@algol.sollentuna.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
>> 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.
I just realised that. I read too many files in parallell and got the
idea that it was included in libpq-fe.h. My mistake, sorry.
Then yes, we probably want to get that thing done for libpq as well.
Though socket operations in APCs arne't exactly common, we know for a
fact that they can give you interesting and incorrect results :-)
Whatever method we choose should probably be applied to the frontend as
well, yes.
//Magnus
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-03-27 03:12:45 | Re: compiling with ssl without thread safety still broken |
Previous Message | Tom Lane | 2004-03-26 23:19:26 | Re: APC/socket fix (final?) |