> It appears that if you set the size of the buffer too small for a
> given field (i.e. data type of 'text'), that the program will crash --
> presumably due to buffer overrun.
Setting a buffer too small shouldn't cause a buffer overrun. If it does,
then it is a bug that needs to be fixed. Are you sure it isn't throwing
an exception?
> What is the conventional wisdom for using StringColumn where the
> length isn't known?
>
> Should I just allocate a very large buffer and hope for the best?
> Are there plans for a DynamicStringColumn class?
Until now, I have been just setting a reasonable sized buffer. A
DynamicStringColumn class would be great! Feel free to send a patch.
Cheers,
Russell
|