C-Extensions / C API functions |
Returns the size in bytes required for a specified data type.
mint rtypmsize(mint datatype, mint length)
Code | Description |
---|---|
0 | The datatype is not a valid SQL type. |
>0 | The return value is the number of bytes that the data type requires. |
The datatype must be one of the data type constants defined in fglExt.h.