Re: User Defined C Function with minGW

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Nathan Thatcher <n8thatcher(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: User Defined C Function with minGW
Date: 2008-05-04 11:16:55
Message-ID: 20080504111655.GB5836@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, May 02, 2008 at 09:34:31AM -0600, Nathan Thatcher wrote:
> Other people have said that pg_detoast_datum is a backend function and
> shouldn't be referenced at all, but it is right there in fmgr.h which
> is obviously required for creating functions under the V1 calling
> convention.

You usually get these kinds of error if you try to compile the code
into an executable, since then all symbols need to be resolved. You
need to link it as a shared object, where this isn't required. I think
you might need some kind of import DLL of something like that?

Have a nice day.
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Miller 2008-05-04 12:57:29 Re: Feature request
Previous Message Martijn van Oosterhout 2008-05-04 08:37:37 Re: How to modify ENUM datatypes?