diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-04-20 11:09:02 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-04-20 11:09:02 +0200 |
commit | 7b6fc96d7710b1467420a548a7ae7b1e9b7b56fa (patch) | |
tree | 46bf833c57aaae9720084b107cd2f4f7e3a1fc84 /schema.sql | |
parent | c6ed5885ba8841a746c98a79635998c8890e73f1 (diff) | |
download | pgfuse-7b6fc96d7710b1467420a548a7ae7b1e9b7b56fa.tar.gz pgfuse-7b6fc96d7710b1467420a548a7ae7b1e9b7b56fa.tar.bz2 |
fixed some nasty bugs
Diffstat (limited to 'schema.sql')
-rw-r--r-- | schema.sql | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |