Re: [HACKERS] Last thoughts about LONG

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: [HACKERS] Last thoughts about LONG
Дата
Msg-id 3852A60B.577E39DB@tm.ee
обсуждение исходный текст
Ответ на Last thoughts about LONG  (wieck@debis.com (Jan Wieck))
Список pgsql-hackers
Jan Wieck wrote:
> 
>     - At    CREATE   TABLE,   a   long   value   relation   named
>       "_LONG<tablename>" is created for those tables who need it.
>       And of course dropped and truncated appropriate. The schema
>       of this table is
> 
>           rowid       Oid,          -- oid of our main data row
>           rowattno    int2,         -- the attribute number in main data
>           chunk_seq   int4,         -- the part number of this data chunk
>           chunk       text          -- the content of this data chunk
> 
>       There is a unique index defined on (rowid, rowattno).
>

If you plan to use the same LONGs for multiple versions you will probably 
need a refcount int4 too

--------------------
Hannu


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: [HACKERS] Last thoughts about LONG
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: [HACKERS] LONG