pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #6261: 35.9. C-Language Functions
2+ messages / 2 participants
[nested] [flat]

* BUG #6261: 35.9. C-Language Functions
@ 2011-10-19 07:43 guenter abraham <abraham@itbb.de>
  2011-10-21 12:55 ` Re: BUG #6261: 35.9. C-Language Functions Robert Haas <robertmhaas@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: guenter abraham @ 2011-10-19 07:43 UTC (permalink / raw)
  To: pgsql-bugs


The following bug has been logged online:

Bug reference:      6261
Logged by:          guenter abraham
Email address:      abraham@itbb.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



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

* Re: BUG #6261: 35.9. C-Language Functions
  2011-10-19 07:43 BUG #6261: 35.9. C-Language Functions guenter abraham <abraham@itbb.de>
@ 2011-10-21 12:55 ` Robert Haas <robertmhaas@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Robert Haas @ 2011-10-21 12:55 UTC (permalink / raw)
  To: guenter abraham <abraham@itbb.de>; +Cc: 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:      6261
> Logged by:          guenter abraham
> Email address:      abraham@itbb.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

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.

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



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


end of thread, other threads:[~2011-10-21 12:55 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-10-19 07:43 BUG #6261: 35.9. C-Language Functions guenter abraham <abraham@itbb.de>
2011-10-21 12:55 ` Robert Haas <robertmhaas@gmail.com>

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