[GENERAL] newbie question on database structure

2004-01-18 Thread JustSomeGuy
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

[GENERAL] need advice.

2004-03-09 Thread JustSomeGuy
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