Re: Compiling extensions on Windows

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Compiling extensions on Windows
Дата
Msg-id 52D35FE6.2010302@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Compiling extensions on Windows  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/13/2014 11:35 AM, Joe Conway wrote:
> On 01/12/2014 07:22 PM, Craig Ringer wrote:
>> On 01/13/2014 11:13 AM, Joe Conway wrote: What I mean is that
>> you should not need a full Pg build tree to compile extensions.
>> Just as we use PGXS on *nix, so it is possible to just use Visual
>> Studio to build the extension on Windows as a VS project like any
>> other.
> 
> I have never gotten that to work.
> 
>>> As long as the SDK is matched, the resulting plr.dll works fine
>>>  with the EDB one-click installer version of postgres (or at 
>>> least so far).
> 
>> The SDK shouldn't even need to match. Windows software is
>> expected to cope with mismatched, mix-and-match C runtimes. Icky,
>> but occasionally useful.
> 
> Unfortunately my experience tells me otherwise. Mismatched SDK = 
> plr.dll that does not work correctly with EDB builds of postgres.

Something for me to play with once this CF is over, then.

- -- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS01/mAAoJELBXNkqjr+S2ZQcH/0rHjCW+6pvg8727dJHSmYfM
fY18VBlgYzjfzgPaFLYgp4OqT7VHl2h1d7AapVo8wRblVD4z1hEFtW6/j56Mx1wm
UTw7rWhs7utA9G+gzWcHJz9VDxED0ROFH+IwurSM85P57ztPKaRhvp6YT3fibhYb
kqw51FrEfvlnhCMi3Art3DGmHtzDRLwGTI03YOr/GRfWsccHPwpRLkpQkyuMsyOX
UBhPenz0OhtkVxEfFSmyVWmu6NzlOQyxgFgl8zW7R9pq4fTBgOfo198RDkGKnCno
9KYq3H8VqLxHgpyR2KP3netrqDvDBzk0xVmgoaJbQyT6HyuQDWH6lIHE+5RTyyM=
=nreR
-----END PGP SIGNATURE-----



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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: Compiling extensions on Windows
Следующее
От: David Fetter
Дата:
Сообщение: Re: