> 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. > > Thanks for your time. > regards > -- > Rafael Martinez,
Then replace SET_VARSIZE(result, strlen(uname_pointer.release) + VARHDRSZ); with VARATT_SIZEP( result, ) = strlen(uname_pointer.release) + VARHDRSZ; __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general