Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use a bigint to store Cumulus object size in PostgreSQL

With INTEGER, Cumulus fails to handle files larger than 2GB when using
PostgreSQL.

Problem reported and patch provided by Feng (zf5984599@gmail.com).

Closes #108.
  • Loading branch information...
commit f68c403f261866ae14f8f751a52dc74af54c37df 1 parent 19a8658
@priteau priteau authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cumulus/conf/etc/acl.postgres.sql
View
2  cumulus/conf/etc/acl.postgres.sql
@@ -126,7 +126,7 @@ create table objects(
parent_id INTEGER REFERENCES objects(id) ON DELETE CASCADE DEFAULT NULL,
md5sum CHAR(32),
- object_size INTEGER DEFAULT 0,
+ object_size bigint DEFAULT 0,
creation_time TIMESTAMP,
UNIQUE(object_type, name, parent_id)
);
Please sign in to comment.
Something went wrong with that request. Please try again.