Re: [GENERAL] Changes to C interface from 7.0 to 7.1

2001-07-20 Thread Tom Lane
"Dr. Evil" <[EMAIL PROTECTED]> writes: > anyway, the problem is that VARSIZE is no longer defined in a way that > I can make assignments to in 7.1. Does anyone have any sugestions? Use VARATT_SIZEP. src/backend/utils/adt/ is a rich source of examples to follow when you have questions like this

[GENERAL] Changes to C interface from 7.0 to 7.1

2001-07-20 Thread Dr. Evil
I have a function like this: VARSIZE(result) = result_size - 1; sha1_init(C); sha1_write(C, VARDATA(arg), VARSIZE(arg)-VARHDRSZ); anyway, the problem is that VARSIZE is no longer defined in a way that I can make assignments to in 7.1. Does anyone have any sugestions? Also, if there is an