Stephen Woodbridge <wood...@swoodbridge.com> 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 (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to