Обсуждение: postgres module in msvc

Поиск
Список
Период
Сортировка

postgres module in msvc

От
"C."
Дата:
Hi there and thx for reading and answering if you can


A few years ago, I wrote a pg module in C on gcc/linux. This module works fine, and I'm striving to port on windows postgres edb, I compiled the corresponding .dll wirh both mingw54 and msvc 2022, but got postgres crashes.

I also tried the recipe from 

but no way.

Do you have a better available example ?

Thx again for reading

Re: postgres module in msvc

От
Adrian Klaver
Дата:
On 6/23/25 12:32, C. wrote:
> Hi there and thx for reading and answering if you can
> 
> 
> A few years ago, I wrote a pg module in C on gcc/linux. This module 
> works fine, and I'm striving to port on windows postgres edb, I compiled 
> the corresponding .dll wirh both mingw54 and msvc 2022, but got postgres 
> crashes.
>
Crashes with what errors?

> I also tried the recipe from
> https://www.enterprisedb.com/blog/compiling-postgresql-extensions-visual-studio-windows.
<https://www.enterprisedb.com/blog/compiling-postgresql-extensions-visual-studio-windows.>
> 
> but no way.
> 
> Do you have a better available example ?
> 
> Thx again for reading
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com