Changeset 1319

Show
Ignore:
Timestamp:
10/16/09 22:30:26 (6 weeks ago)
Author:
robbat2
Message:

BIGINT support during table creation.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/server/lib/MogileFS/Store/Postgres.pm

    r1318 r1319  
    114114        $sql =~ s!,\s*INDEX\s*(\w+)?\s*\(.+?\)!!mgi; 
    115115    } 
     116 
     117    # Allow 64-bit ids for file IDs 
     118    $sql =~ s!\bfid\s+INT\b!fid BIGINT!i if $self->fid_type eq "BIGINT"; 
    116119 
    117120    return $sql;