Thread: create an extension of postgresql 9 with Visual C++ 2008 express edition

create an extension of postgresql 9 with Visual C++ 2008 express edition

From
michel wildcat
Date:

Hello,
I am a computer student in belgium, for my academic project I am working to an extension
of postgresql 9 under win xp, by creating h DLL in Visual C++ 2008 - I am new in both environments; To start and understand how does it works, I tried to compile the example complex.c which is in the directory /tutorial of  postgresql sources, but unfortunately I have lots of compilation errors Although I made the various necessary "include ". Please I would like to know if there could be a kind of tutorial that explains how to develop a DLL for Postgresql using Visual C + + Express  (the necessary config, the library to include, etc.. ), based on the /tutorial/complex.c ffile for example.
Thanks you in the advance.


Bonjour,

On parle plutôt français sur cette liste d'habitude :)

To reach an English-speaking forum please consider pgsql-general.

michel wildcat <m.wildcat82@gmail.com> writes:
> I am a computer student in belgium, for my academic project I am working to
> an extension of postgresql 9 under win xp, by creating h DLL in Visual C++
> 2008 - I am new in both environments; To start and understand how does it
> works, I tried to compile the example complex.c which is in the
> directory /tutorial
> of  postgresql sources, but unfortunately I have lots of compilation errors
> Although I made the various necessary "include ". Please I would like to
> know if there could be a kind of tutorial that explains how to develop a DLL
> for Postgresql using Visual C + + Express  (the necessary config, the
> library to include, etc.. ), based on the /tutorial/complex.c ffile for
> example.

Better try with any contrib first.  If possible one that does look like
the extension you're wanting to develop.

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support