Re: C functions, dll, server fall down

From: AlexeyChe <alexey(dot)chernushev(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: C functions, dll, server fall down
Date: 2009-12-16 14:21:05
Message-ID: 26810029.post@talk.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Browse pgsql-general by date

  From Date Subject
Next Message Brian Modra 2009-12-16 14:29:43 Re: Objects / Procedure creation date or modified date
Previous Message Michael Clark 2009-12-16 14:16:34 Re: Possible causes for database corruption and solutions