Thread

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

    Vadim B. Mikheev <vadim@sable.krasnoyarsk.su> — 1998-03-16T08:09:07Z

    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