Re: Using a library compiled for 8.3 in 8.2

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Marcelo de Moraes Serpa <celoserpa(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Using a library compiled for 8.3 in 8.2
Date: 2007-04-27 14:46:07
Message-ID: 20070427144607.GM4645@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Marcelo de Moraes Serpa escribió:
> Hello!
>
> Today, I have finally managed to compile PostgreSQL 8.3devel using Visual
> C++ 2005 on Windows XP PRO. It was a tough process as I've never hacked such
> a big OS project like PGSQL. I did it becouse I needed to develop some C
> functions that will be exported as functions to be called as Stored
> Procedures. The dll compiled well, however, when I try to create it in the
> database using the CREATE OR REPLACE FUNCTION, I get the following error
> message:

You are wasting your time. You need to install mingw to be able to
compile Postgres 8.2 on Windows. The changes to make 8.3 compilable on
MSVC were extensive, and backporting them (which you'd have to do
singlehandedly I imagine) would take much more time than installing
mingw in the first place.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2007-04-27 14:50:18 Re: Preferred Installation/Data Directories
Previous Message Tom Lane 2007-04-27 14:44:04 Re: Preferred Installation/Data Directories