> You've omitted the details that probably matter. My guess is that > you're inappropriately converting one of these values to a Datum, > or converting it to a Datum that's not really of the type the > tuple descriptor specifies. > > regards, tom lane
Mate, you just won a beer :) You guessed it right, I was trying to "CStringGetDatum" into a text field, now i solved it with values[n] = DirectFunctionCall1(textin, CStringGetDatum(...string...)); Thank you very much! Claudio Rossi -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers