Re: [HACKERS] Re: [QUESTIONS] Does Storage Manager support >2GB tables?

Поиск
Список
Период
Сортировка
От Vadim B. Mikheev
Тема Re: [HACKERS] Re: [QUESTIONS] Does Storage Manager support >2GB tables?
Дата
Msg-id 350CDE23.6D219D91@sable.krasnoyarsk.su
обсуждение исходный текст
Ответ на Re: [QUESTIONS] Does Storage Manager support >2GB tables?  (The Hermit Hacker <scrappy@hub.org>)
Список pgsql-hackers
Chris Albertson wrote:
>
> I know you must have looked at far more Postgresql code then I have but
> I was browsing the storage manager.  Apparently it is fairly easy to
> assign a class to a manager as each class is tagged in the system catalog
> with a storage method.  What I really want is a >2GB table.  I was trying
> to see if this was supported by reading the source.  Looks like it may be.
> The note in the To Do list includes testing.  I would test it but for
> lack of disk space. (I'll have more in a while.)
  ^^^^^^^^^^^^^^^^^^

src/backend/storage/smgr/md.c:

#define RELSEG_SIZE ...

- just decrease it!

Vadim

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

Предыдущее
От: jwieck@debis.com (Jan Wieck)
Дата:
Сообщение: Re: [QUESTIONS] Re: [HACKERS] text should be a blob field
Следующее
От: Brett McCormick
Дата:
Сообщение: Re: [HACKERS] varchar() vs char16 performance