Re: [HACKERS] Re: [QUESTIONS] Does Storage Manager support >2GB tables? - Mailing list pgsql-hackers

From Vadim B. Mikheev
Subject Re: [HACKERS] Re: [QUESTIONS] Does Storage Manager support >2GB tables?
Date
Msg-id 350CDE23.6D219D91@sable.krasnoyarsk.su
Whole thread Raw
In response to Re: [QUESTIONS] Does Storage Manager support >2GB tables?  (The Hermit Hacker <scrappy@hub.org>)
List 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 by date:

Previous
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: Re: [QUESTIONS] Re: [HACKERS] text should be a blob field
Next
From: Brett McCormick
Date:
Subject: Re: [HACKERS] varchar() vs char16 performance