Re: pgstat: remove delayed destroy / pipe:

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: pgstat: remove delayed destroy / pipe:
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA35335@algol.sollentuna.se
обсуждение исходный текст
Ответы Re: pgstat: remove delayed destroy / pipe:
Re: pgstat: remove delayed destroy / pipe:
Список pgsql-patches
> It turns out the problem is that port/pipe.c is compiled with
> -DFRONTEND and include/port/win32.h wraps the recv to
> pgwin32_recv macro in a #ifndef FRONTEND.  We've actually
> been using the WinSock recv function directly (verified with gcc -E).

That's definitly wrong.
Looks like this file needs a _srv version in the Makefile.  Bruce?

Just a thought - might this affect more things that rely on FRONTEND
defines in the headers? How bad would it be to just make libpgport build
two complete sets of object files, one for server and one for frontend,
instead of special-casing which files are rebuilt?


> If somebody else could take over actually fixing this, that
> would be great.  As I mentioned before, we're heading away
> from Windows for the time being.

I can try - though I only have development servers on win32 these days,
and have never been bitten by this actual problem. So we'd still much
appreciate yuor help in testing a solution once it's there..

//Magnus

В списке pgsql-patches по дате отправления:

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Building with Visual C++
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Page at a time index scan