newbie question on database structure

Поиск
Список
Период
Сортировка
От JustSomeGuy
Тема newbie question on database structure
Дата
Msg-id nqANb.111270$JQ1.18511@pd7tw1no
обсуждение исходный текст
Ответы Re: newbie question on database structure  (David Helgason <david@uti.is>)
Список pgsql-general
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 data points to the object....

Of course the size of the objects is not a constant so this is where I
get confused...
How do I define a database to hold these in postgres?




В списке pgsql-general по дате отправления:

Предыдущее
От: Shri Shrikumar
Дата:
Сообщение: Finding if a function / stored procedure updated the database
Следующее
От: Curt Sampson
Дата:
Сообщение: Solution to UPDATE or INSERT Problem