summaryrefslogtreecommitdiff
path: root/src/mintdb/plugin_mintdb_postgres.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mintdb/plugin_mintdb_postgres.c')
-rw-r--r--src/mintdb/plugin_mintdb_postgres.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c
index 6d3012ee1..5d50f07c0 100644
--- a/src/mintdb/plugin_mintdb_postgres.c
+++ b/src/mintdb/plugin_mintdb_postgres.c
@@ -89,6 +89,7 @@
PQclear (result); \
} while (0)
+
/**
* Run an SQL statement, ignoring errors and clearing the result.
*
@@ -123,7 +124,7 @@ struct PostgresClosure
/**
* Thread-local database connection.
- * Contains a pointer to PGconn or NULL.
+ * Contains a pointer to `PGconn` or NULL.
*/
pthread_key_t db_conn_threadlocal;
@@ -374,6 +375,7 @@ postgres_create_tables (void *cls,
",wire TEXT NOT NULL"
")");
#undef SQLEXEC
+#undef SQLEXEC_INDEX
PQfinish (conn);
return GNUNET_OK;