Samuel ROZE wrote:
Le mercredi 21 octobre 2009 à 12:59 -0400, Andrew Dunstan a écrit :On 8.3 you might need to put a #define for it directly in your C file.I can't: cstring_to_text isn't defined. I'll develop on 8.4.
or try:#define CStringGetTextP(c) DatumGetTextP(DirectFunctionCall1(textin, CStringGetDatum(c)))
cheers andrew -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers