Stephen Woodbridge <[email protected]> writes:
> Thanks, changing my code to use BuildTupleFromCStrings did the trick. So
> if I wanted to do some like my code was doing what is the proper way to
> convert a CString into varchar and then that into Datum?
Personally I'd use cstring_to_text (relying on the knowledge that text
and varchar are binary-equivalent types).
regards, tom lane
--
Sent via pgsql-general mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general