| From: | "Marcelo de Moraes Serpa" <celoserpa(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Using a library compiled for 8.3 in 8.2 |
| Date: | 2007-04-27 14:34:28 |
| Message-ID: | 1e5bcefd0704270734j765f9f6iaded057a6812409a@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
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:
ERROR: incompatible library "C:\Arquivos de
programas\PostgreSQL\8.2\lib\sgipgfunc.dll": version mismatch
SQL state: XX000
Detail: Server is version 8.2, library is version 8.3.
How could I make it work with 8.2 without having to download the 8.2 source
code and compiling it? Is there a way to do that?
Thanks in advance,
Marcelo.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2007-04-27 14:36:40 | Re: Feature Request --- was: PostgreSQL Performance Tuning |
| Previous Message | Michael Stone | 2007-04-27 14:30:25 | Re: Feature Request --- was: PostgreSQL Performance Tuning |