Re: [GENERAL] User Defined C Function with minGW

2008-05-04 Thread Martijn van Oosterhout
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 us

[GENERAL] User Defined C Function with minGW

2008-05-03 Thread Nathan Thatcher
I have been creating some user defined C functions using minGW and postgreSQL 8.3. Everything works great when I use integers, timestamps, points, etc. I have compiled, linked, created, and tested multiple function and aggregates. The problem occurs when I have a text parameter and need to use PG_