Re: pgwin32_safestat weirdness

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: pgwin32_safestat weirdness
Дата
Msg-id 20080415095336.2f2c0d48@mha-laptop
обсуждение исходный текст
Ответ на Re: pgwin32_safestat weirdness  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
> > I would be quite happy with that, but before we go down that path
> > I'd like to know why the MSVC builds aren't failing now from this
> > when the MinGW builds are.
> 
> Maybe the MSVC linker is willing to bind libpq's call to a safestat
> copy extracted from libpgport.a in the surrounding program --- IOW,
> it works only for calling programs that include libpgport, but all
> ours do.

Actually, on msvc we link libpq against libpgport, and not the
individual files. Since we have a defined export list, it should remove
all the unused functions automatically.

//Magnus


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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: rule for update view that updates/inserts into 2 tables
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: pgwin32_safestat weirdness