pg.ddx.io  pgsql-students@postgresql.org mailing list archive  
help / color / mirror / Atom feed
create an extension of postgresql 9 with Visual C++ 2008 express edition
4+ messages / 3 participants
[nested] [flat]

* create an extension of postgresql 9 with Visual C++ 2008 express edition
@ 2011-02-08 21:07  michel wildcat <m.wildcat82@gmail.com>
  0 siblings, 2 replies; 4+ messages in thread

From: michel wildcat @ 2011-02-08 21:07 UTC (permalink / raw)
  To: pgsql-hackers@postgresql.org

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.

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* create an extension of postgresql 9 with Visual C++ 2008 express edition
@ 2011-02-08 21:29  michel wildcat <m.wildcat82@gmail.com>
  parent: michel wildcat <m.wildcat82@gmail.com>
  1 sibling, 1 reply; 4+ messages in thread

From: michel wildcat @ 2011-02-08 21:29 UTC (permalink / raw)
  To: pgsql-hackers@postgresql.org

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.

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [pgsql-fr-generale] create an extension of postgresql 9 with Visual C++ 2008 express edition
@ 2011-02-08 21:37  Dimitri Fontaine <dimitri@2ndQuadrant.fr>
  parent: michel wildcat <m.wildcat82@gmail.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Dimitri Fontaine @ 2011-02-08 21:37 UTC (permalink / raw)
  To: michel wildcat <m.wildcat82@gmail.com>; +Cc: pgsql-hackers@postgresql.org

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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: create an extension of postgresql 9 with Visual C++ 2008 express edition
@ 2011-02-09 16:10  Kevin Grittner <Kevin.Grittner@wicourts.gov>
  parent: michel wildcat <m.wildcat82@gmail.com>
  1 sibling, 0 replies; 4+ messages in thread

From: Kevin Grittner @ 2011-02-09 16:10 UTC (permalink / raw)
  To: michel wildcat <m.wildcat82@gmail.com>; pgsql-hackers@postgresql.org

michel wildcat <m.wildcat82@gmail.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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2011-02-09 16:10 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-02-08 21:07 create an extension of postgresql 9 with Visual C++ 2008 express edition michel wildcat <m.wildcat82@gmail.com>
2011-02-08 21:29 ` michel wildcat <m.wildcat82@gmail.com>
2011-02-08 21:37   ` Dimitri Fontaine <dimitri@2ndQuadrant.fr>
2011-02-09 16:10 ` Kevin Grittner <Kevin.Grittner@wicourts.gov>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox