Re: Custom C function - is palloc broken?

From: "Dan \"Heron\" Myers" <heron(at)xnapid(dot)com>
To: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Custom C function - is palloc broken?
Date: 2008-05-05 22:57:08
Message-ID: 481F90C4.6000908@xnapid.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Craig Ringer wrote:
> I've tested this definition and it produces a DLL that links correctly
> and does so without the warnings of inconsistent DLL linkage produced by
> the original versions (which declared the function __declspec(dllimport)
> then defined it).

Did you actually try to use those functions in a query, or did you just
build the DLL?

With the changes you suggested, I can still successfully build the DLL
(I could build it before, as well), but now EVERY function crashes
Postgres when I try to run it, instead of just the ones that use palloc.

Any ideas?

- Dan

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Klint Gore 2008-05-06 00:05:18 Re: operator is not unique: integer || integer
Previous Message Martin Marques 2008-05-05 22:27:40 Re: checkpoint_segments warning?