summaryrefslogtreecommitdiff
path: root/schema.sql
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-04-20 11:09:02 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-04-20 11:09:02 +0200
commit7b6fc96d7710b1467420a548a7ae7b1e9b7b56fa (patch)
tree46bf833c57aaae9720084b107cd2f4f7e3a1fc84 /schema.sql
parentc6ed5885ba8841a746c98a79635998c8890e73f1 (diff)
downloadpgfuse-7b6fc96d7710b1467420a548a7ae7b1e9b7b56fa.tar.gz
pgfuse-7b6fc96d7710b1467420a548a7ae7b1e9b7b56fa.tar.bz2
fixed some nasty bugs
Diffstat (limited to 'schema.sql')
-rw-r--r--schema.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/schema.sql b/schema.sql
index db0b46f..b776556 100644
--- a/schema.sql
+++ b/schema.sql
@@ -14,13 +14,13 @@ CREATE TABLE dir (
atime TIMESTAMP
);
--- TODO: 512 is STANDARD_BLOCK_SIZE in config.h, must be in sync!
+-- TODO: 4096 is STANDARD_BLOCK_SIZE in config.h, must be in sync!
CREATE TABLE data (
id SERIAL PRIMARY KEY,
dir_id INTEGER,
block_no INTEGER NOT NULL DEFAULT 0,
FOREIGN KEY( dir_id ) REFERENCES dir( id ),
- data BYTEA NOT NULL DEFAULT repeat(E'\\000',512)::bytea
+ data BYTEA NOT NULL DEFAULT repeat(E'\\000',4096)::bytea
);
-- create indexes for fast data access