Re: BUG #6261: 35.9. C-Language Functions - Mailing list pgsql-bugs

From Robert Haas
Subject Re: BUG #6261: 35.9. C-Language Functions
Date
Msg-id CA+TgmoZpaqreNbga81uN7eQRXWmJRcgV6geu2F_XyJHvfRpqjg@mail.gmail.com
Whole thread Raw
In response to BUG #6261: 35.9. C-Language Functions  ("guenter abraham" <abraham@itbb.de>)
List pgsql-bugs
On Wed, Oct 19, 2011 at 3:43 AM, guenter abraham <abraham@itbb.de> wrote:
>
> The following bug has been logged online:
>
> Bug reference: =A0 =A0 =A06261
> Logged by: =A0 =A0 =A0 =A0 =A0guenter abraham
> Email address: =A0 =A0 =A0abraham@itbb.de
> PostgreSQL version: 9.1
> Operating system: =A0 win 7 prof /64
> Description: =A0 =A0 =A0 =A035.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"
>
> =A0create function aktualisiere_client(int4,int4,int4)
> =A0returns int4 as
> =A0'db_sock.dll','aktualisiere_client'
> =A0language 'C' volatile strict;
>
> ---->
>
> FEHLER: =A0konnte Bibliothek =BBC:/Program
> Files/PostgreSQL/9.1/lib/db_sock.dll=AB nicht laden: unknown error 193
>
>
> ********** Fehler **********
>
> FEHLER: konnte Bibliothek =BBC:/Program
> Files/PostgreSQL/9.1/lib/db_sock.dll=AB nicht laden: unknown error 193
> SQL Status:58P01
>
> ----------------------
> this dll works fine under Vers 8.2. I recompiled it with mingw / gcc

Without more details it's pretty hard to speculate on what the problem
might be here.  I'm pretty doubtful that this is broken in general, as
that would mean that most of the extensions we bundle with core would
be broken on Windows, and I think someone would have noticed that by
now.

--=20
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgsql-bugs by date:

Previous
From: Craig Ringer
Date:
Subject: Re: [GENERAL] One-click installer, Windows 7 32-bit, and icacls.exe
Next
From: Josh Kupershmidt
Date:
Subject: 'pg_ctl restart' confused about pathname to postgresql.conf