Re: pgwin32_safestat weirdness

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgwin32_safestat weirdness
Дата
Msg-id 11765.1208107220@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgwin32_safestat weirdness  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: pgwin32_safestat weirdness  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> I'm confused about the current state of the pgwin32_safestat stuff. 

Me too.  I tried to fix it a couple of days ago, but seem to have only
moved the problem around :-(

> Cygwin is now building happily, but MinGW is now broken on libpq. It 
> looks like libpq now needs dirmod.o or maybe libpgport.a. What I really 
> don't understand though is why MinGW is broken but MSVC isn't.

I don't think we should import dirmod.o into libpq; it's too big.
I suggest either

(1) Assume that we don't need "safe" stat for frontend code, and
compile the safestat stuff only when !defined(FRONTEND)

(2) Split safestat into its own file and include that in libpq.

I'm not touching it myself though, since I have no way to test it.
        regards, tom lane


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: pgwin32_safestat weirdness
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgwin32_safestat weirdness