diff options
Diffstat (limited to 'src/datacache/plugin_datacache_postgres.c')
-rw-r--r-- | src/datacache/plugin_datacache_postgres.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/datacache/plugin_datacache_postgres.c b/src/datacache/plugin_datacache_postgres.c index 5c497cdf8..2fe6498a5 100644 --- a/src/datacache/plugin_datacache_postgres.c +++ b/src/datacache/plugin_datacache_postgres.c | |||
@@ -68,11 +68,11 @@ init_connection (struct Plugin *plugin) | |||
68 | { | 68 | { |
69 | struct GNUNET_PQ_ExecuteStatement es[] = { | 69 | struct GNUNET_PQ_ExecuteStatement es[] = { |
70 | GNUNET_PQ_make_execute ("CREATE TEMPORARY TABLE IF NOT EXISTS gn090dc (" | 70 | GNUNET_PQ_make_execute ("CREATE TEMPORARY TABLE IF NOT EXISTS gn090dc (" |
71 | " type INTEGER NOT NULL DEFAULT 0," | 71 | " type INTEGER NOT NULL," |
72 | " discard_time BIGINT NOT NULL DEFAULT 0," | 72 | " discard_time BIGINT NOT NULL," |
73 | " key BYTEA NOT NULL DEFAULT ''," | 73 | " key BYTEA NOT NULL," |
74 | " value BYTEA NOT NULL DEFAULT ''," | 74 | " value BYTEA NOT NULL," |
75 | " path BYTEA DEFAULT '')" | 75 | " path BYTEA DEFAULT NULL)" |
76 | "WITH OIDS"), | 76 | "WITH OIDS"), |
77 | GNUNET_PQ_make_try_execute ("CREATE INDEX IF NOT EXISTS idx_key ON gn090dc (key)"), | 77 | GNUNET_PQ_make_try_execute ("CREATE INDEX IF NOT EXISTS idx_key ON gn090dc (key)"), |
78 | GNUNET_PQ_make_try_execute ("CREATE INDEX IF NOT EXISTS idx_dt ON gn090dc (discard_time)"), | 78 | GNUNET_PQ_make_try_execute ("CREATE INDEX IF NOT EXISTS idx_dt ON gn090dc (discard_time)"), |