I want to design a data base that can hold the following structure
struct {
unsigned short a;
unsigned short b;
unsigned int len;
unsigned char *data;
} myObject;
a and b describe the type of object, len is the number of bytes that
are required to hold the object.
and of course da
I have a database that should be quite simple to do.
I have a base object that is easily defined
as
create table myObject (
a integer,
b integer,
len integer,
data bytea
);
Now this really should be a type:
And oddly enough it is the only type of data in the entire database.
A l