2008/7/1 Rafael Martinez <r(dot)m(dot)guerrero(at)usit(dot)uio(dot)no>:
> Pavel Stehule wrote:
>>
>> hello
>> try
>>
>>
>> memcpy(VARDATA(result),uname_pointer.release,strlen(uname_pointer.release));
>> SET_VARSIZE(result, strlen(uname_pointer.release) + VARHDRSZ);
>>
> [.........]
>
> This a 8.2.x system. SET_VARSIZE is not available.
>
VARATT_SIZEP(result) = strlen(uname_pointer.release) + VARHDRSZ;
Pavel
> Thanks for your time.
> regards
> --
> Rafael Martinez, <r(dot)m(dot)guerrero(at)usit(dot)uio(dot)no>
> Center for Information Technology Services
> University of Oslo, Norway
>
> PGP Public Key: http://folk.uio.no/rafael/
>