Re: C functions, dll, server fall down - Mailing list pgsql-general

From AlexeyChe
Subject Re: C functions, dll, server fall down
Date
Msg-id 26810029.post@talk.nabble.com
Whole thread Raw
In response to Re: C functions, dll, server fall down  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-general

>hm. I wonder if this is confusion between value/reference datums.  Can
>you do a quick check to see exactly where it's crashing (either before
>you get into the function, at the getarg, or in the return)?
>
>you can elog(WARNING, msg) to print out debug info from inside the
function.
>
>merlin

It's crashing exactly in the return
At first time I had some problem with linking dll - linker could not found
function "PG_RETURN_FLOAT8" - undefined reference to `Float8GetDatum'

but I had solve this problem with adding "c:\pgsql\lib"-lpostgres
Maybe I was wrong in this?
--
View this message in context: http://old.nabble.com/C-functions%2C-dll%2C-server-fall-down-tp26710234p26810029.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: Andreas 'ads' Scherbaum
Date:
Subject: Re: [ANNOUNCE] PostgreSQL@FOSDEM 2010 - HOTEL room reservation
Next
From: Grzegorz Jaśkiewicz
Date:
Subject: Re: Slow select