GNUnet PQ API change
This commit is contained in:
parent
cc862fb279
commit
da0a2f39d0
@ -160,6 +160,7 @@ postgres_drop_tables (void *cls,
|
||||
int ret;
|
||||
|
||||
conn = GNUNET_PQ_connect (pc->connection_cfg_str,
|
||||
NULL,
|
||||
es,
|
||||
NULL);
|
||||
if (NULL == conn)
|
||||
@ -407,6 +408,7 @@ postgres_create_tables (void *cls)
|
||||
struct GNUNET_PQ_Context *conn;
|
||||
|
||||
conn = GNUNET_PQ_connect (pc->connection_cfg_str,
|
||||
NULL,
|
||||
es,
|
||||
NULL);
|
||||
if (NULL == conn)
|
||||
@ -991,6 +993,7 @@ postgres_get_session (void *cls)
|
||||
return session;
|
||||
}
|
||||
db_conn = GNUNET_PQ_connect (pc->connection_cfg_str,
|
||||
NULL,
|
||||
NULL,
|
||||
ps);
|
||||
if (NULL == db_conn)
|
||||
@ -1151,6 +1154,7 @@ postgres_gc (void *cls)
|
||||
|
||||
now = GNUNET_TIME_absolute_get ();
|
||||
conn = GNUNET_PQ_connect (pc->connection_cfg_str,
|
||||
NULL,
|
||||
NULL,
|
||||
ps);
|
||||
if (NULL == conn)
|
||||
|
@ -172,6 +172,7 @@ postgres_drop_tables (void *cls)
|
||||
struct GNUNET_PQ_Context *conn;
|
||||
|
||||
conn = GNUNET_PQ_connect (pc->connection_cfg_str,
|
||||
NULL,
|
||||
es,
|
||||
NULL);
|
||||
if (NULL == conn)
|
||||
@ -494,7 +495,6 @@ postgres_create_tables (void *cls)
|
||||
",buf BYTEA NOT NULL"
|
||||
");"),
|
||||
|
||||
|
||||
/* Index for wire_prepare_data_get and gc_prewire statement */
|
||||
GNUNET_PQ_make_try_execute ("CREATE INDEX prepare_iteration_index "
|
||||
"ON prewire(finished);"),
|
||||
@ -503,6 +503,7 @@ postgres_create_tables (void *cls)
|
||||
struct GNUNET_PQ_Context *conn;
|
||||
|
||||
conn = GNUNET_PQ_connect (pc->connection_cfg_str,
|
||||
NULL,
|
||||
es,
|
||||
NULL);
|
||||
if (NULL == conn)
|
||||
@ -1677,6 +1678,7 @@ postgres_get_session (void *cls)
|
||||
};
|
||||
|
||||
db_conn = GNUNET_PQ_connect (pc->connection_cfg_str,
|
||||
NULL,
|
||||
es,
|
||||
ps);
|
||||
}
|
||||
@ -5641,6 +5643,7 @@ postgres_gc (void *cls)
|
||||
};
|
||||
|
||||
conn = GNUNET_PQ_connect (pg->connection_cfg_str,
|
||||
NULL,
|
||||
NULL,
|
||||
ps);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user