Re: Compiling extensions on Windows

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Compiling extensions on Windows
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B17C8EA3D@ntex2010i.host.magwien.gv.at
обсуждение исходный текст
Ответ на Compiling extensions on Windows  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
Craig Ringer wrote:
> Out of personal interest (in pain and suffering) I was recently looking
> into how to compile extensions out-of-tree on Windows using Visual
> Studio (i.e. no PGXS).
> 
> It looks like the conventional answer to this is "Do a source build of
> PG, compile your ext in-tree in contrib/, and hope the result is binary
> compatible with release PostgreSQL builds for Windows". Certainly that's
> how I've been doing it to date.
> 
> How about everyone else here? Does anyone actually build and distribute
> extensions out of tree at all?

I build binaries for oracle_fdw for EDB's binaries "by hand",
i.e. I look at what PGXS does on Linux and try to do something
comparable with "cl".  It's rather painful, and something like
PGXS for MSVC would be very welcome.

Yours,
Laurenz Albe

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

Предыдущее
От: "MauMau"
Дата:
Сообщение: Re: [bug fix] multibyte messages are displayed incorrectly on the client
Следующее
От: Dave Chinner
Дата:
Сообщение: Re: [Lsf-pc] Linux kernel impact on PostgreSQL performance