RE : [pgsql-fr-generale] create an extension of postgresql 9 with Visual C++ 2008 express edition

Lists: pgsql-cluster-hackerspgsql-fr-generalepgsql-hackerspgsql-students
From: michel wildcat <m(dot)wildcat82(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: create an extension of postgresql 9 with Visual C++ 2008 express edition
Date: 2011-02-08 21:07:15
Message-ID: AANLkTi=PwJb8Dk74jsdMjr1J6SzMcYkipqk-B28jgWDr@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cluster-hackers pgsql-fr-generale pgsql-hackers pgsql-students

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.


From: michel wildcat <m(dot)wildcat82(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: create an extension of postgresql 9 with Visual C++ 2008 express edition
Date: 2011-02-08 21:29:53
Message-ID: AANLkTin1e60KFqLEy3814JPpCExX=fakQ0D=MHn9+g04@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cluster-hackers pgsql-fr-generale pgsql-hackers pgsql-students

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.


From: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
To: michel wildcat <m(dot)wildcat82(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [pgsql-fr-generale] create an extension of postgresql 9 with Visual C++ 2008 express edition
Date: 2011-02-08 21:37:38
Message-ID: m2oc6mnr6l.fsf@2ndQuadrant.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cluster-hackers pgsql-fr-generale pgsql-hackers pgsql-students

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(dot)wildcat82(at)gmail(dot)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


From: "Cousin Florence" <fcousin(at)sopragroup(dot)com>
To: <pgsql-fr-generale(at)postgresql(dot)org>
Cc: "michel wildcat" <m(dot)wildcat82(at)gmail(dot)com>
Subject: RE : [pgsql-fr-generale] create an extension of postgresql 9 with Visual C++ 2008 express edition
Date: 2011-02-09 09:04:12
Message-ID: 19337_1297242253_4D52588D_19337_2552072_1_D02CE8BCC08BC6488B6A9DB54827C9F502FB3CA9@WBE12.ancy.fr.sopra
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cluster-hackers pgsql-fr-generale pgsql-hackers pgsql-students


-------- Message d'origine--------
De: pgsql-fr-generale-owner(at)postgresql(dot)org de la part de michel wildcat
Date: mar. 08/02/2011 22:29
À: pgsql-hackers(at)postgresql(dot)org
Objet : [pgsql-fr-generale] create an extension of postgresql 9 with Visual C++ 2008 express edition

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,

ici c'est un forum francophone, merci de poster en français. Tu peux poster tes questions sur :
* pgsql-general : http://archives.postgresql.org/pgsql-general/
* pgsql-novice : http://archives.postgresql.org/pgsql-novice/
(pgsql-hackers(at)postgresql(dot)org, c'est pour les développeurs DE PostgreSQL )

Hi,

you are on the French community mailing list, messages have to be written in french. You can post your questions on :
* pgsql-general : http://archives.postgresql.org/pgsql-general/
* pgsql-novice : http://archives.postgresql.org/pgsql-novice/
(pgsql-hackers(at)postgresql(dot)org is only for the developpers of PostgreSQL itself)

Sorry, I can not help you on your specific question.

Bests regards,

Florence.


From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "michel wildcat" <m(dot)wildcat82(at)gmail(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: create an extension of postgresql 9 with Visual C++ 2008 express edition
Date: 2011-02-09 16:10:14
Message-ID: 4D526806020000250003A6E6@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cluster-hackers pgsql-fr-generale pgsql-hackers pgsql-students

michel wildcat <m(dot)wildcat82(at)gmail(dot)com> wrote:

> 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 ".

This is a little to vague and confusing to be able to offer much
advice. Some copy and paste of attempts and the exact errors would
help. In general, you might want to review this page for ideas of
how to best ask a question to elicit a useful response:

http://wiki.postgresql.org/wiki/Guide_to_reporting_problems

> 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.

I don't know of anything, but since I don't develop for that
environment, I haven't really dug deep looking for it. Be sure to
review what is in the Wiki, especially the links from the Windows
category:

http://wiki.postgresql.org/wiki/Category:Windows

as well as following the links from the developer tab of the main
PostgreSQL site:

http://www.postgresql.org/developer/

-Kevin