Re: problem with msvc linker - cannot build orafce

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Kisung Kim <kskim(at)bitnine(dot)co(dot)kr>
Cc: Chapman Flack <chap(at)anastigmatix(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: problem with msvc linker - cannot build orafce
Date: 2015-11-25 10:27:10
Message-ID: CAFj8pRA=vYNc0TPpCdoigYLt4Y_qumPQdM8wJZFe8yXaRg5D5g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2015-11-24 11:33 GMT+01:00 Kisung Kim <kskim(at)bitnine(dot)co(dot)kr>:

> 2015-11-24 8:12 GMT+09:00 Chapman Flack <chap(at)anastigmatix(dot)net>:
>
>> On 11/23/15 15:14, Tom Lane wrote:
>> > Lack of PGDLLIMPORT on the extern declaration, no doubt.
>> >
>> > The fact that we've not heard this before implies that either nobody has
>> > ever tried to use orafce on Windows, or it only very recently grew a
>> > dependency on session_timezone.
>>
>>
> Actually, we encountered the situation before couple of months.
> A client wanted to use orafce on Windows and the same build problem
> occurred.
> We performed a workaround to edit the PG source to export unresolved
> symbols,
> which I think of not a good solution.
>

I found a workaround for session_timezone so master is compileable on msvc
again without patching PG source

https://github.com/orafce/orafce/commit/9bda5074d44eefebbd002b4720d5833e612428af

but can be nice to solve this issue - there can be some interesting
variables and not for all the workaround is possible

Regards

Pavel

>
> 2015-11-24 8:12 GMT+09:00 Chapman Flack <chap(at)anastigmatix(dot)net>:
>
>> Has anyone got the stomach to try such a thing and see what happens?
>> I don't have MSVC here.
>>
>> -Chap
>
>
> We have the environment to test your ideas.
> Can you explain your ideas with more detail?
>
>
>
>
>
>
> (C)Bitnine, Kisung Kim, Ph.D
> https://sites.google.com/site/kisungresearch/
> E-mail : kskim(at)bitnine(dot)co(dot)kr
> <cskang(at)bitnine(dot)co(dot)kr>Office phone : 070-4800-3321
> Mobile phone : 010-7136-0834
> Fax : 02-568-1332
>
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thom Brown 2015-11-25 11:36:48 Re: Optimization for updating foreign tables in Postgres FDW
Previous Message Pavel Stehule 2015-11-25 10:23:28 Re: problem with msvc linker - cannot build orafce