Skip site navigation (1) Skip section navigation (2)

BUG #6261: 35.9. C-Language Functions

From: "guenter abraham" <abraham(at)itbb(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6261: 35.9. C-Language Functions
Date: 2011-10-19 07:43:55
Message-ID: 201110190743.p9J7ht7N022461@wwwmaster.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      6261
Logged by:          guenter abraham
Email address:      abraham(at)itbb(dot)de
PostgreSQL version: 9.1
Operating system:   win 7 prof /64
Description:        35.9. C-Language Functions
Details: 

the import of C-Language Functions (Version 0 and Version 1 as described in
chapter 35.9 of the manual) leads to an "unknown-error"

  create function aktualisiere_client(int4,int4,int4) 
  returns int4 as
  'db_sock.dll','aktualisiere_client' 
  language 'C' volatile strict;

----> 

FEHLER:  konnte Bibliothek »C:/Program
Files/PostgreSQL/9.1/lib/db_sock.dll« nicht laden: unknown error 193


********** Fehler **********

FEHLER: konnte Bibliothek »C:/Program
Files/PostgreSQL/9.1/lib/db_sock.dll« nicht laden: unknown error 193
SQL Status:58P01

----------------------
this dll works fine under Vers 8.2. I recompiled it with mingw / gcc 

with kind regards
Guenter Abraham

Responses

pgsql-bugs by date

Next:From: Michael MeskesDate: 2011-10-19 10:17:31
Subject: Re: BUG #6238: ECPG converts "long long" to long on Windows
Previous:From: Robert YoungDate: 2011-10-19 05:41:57
Subject: Re: incompatible pointer type

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group