"Claudio Rossi" <wind(dot)claudio(at)inwind(dot)it> writes:
> You guessed it right, I was trying to "CStringGetDatum" into a text field, now i solved it with
> values[n] = DirectFunctionCall1(textin, CStringGetDatum(...string...));
If you're working in CVS HEAD there's an easier way --- see
CStringGetTextDatum.
regards, tom lane