diff options
Diffstat (limited to 'src/auditordb/pg_insert_wire_auditor_progress.c')
-rw-r--r-- | src/auditordb/pg_insert_wire_auditor_progress.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/auditordb/pg_insert_wire_auditor_progress.c b/src/auditordb/pg_insert_wire_auditor_progress.c index 7853d3ff6..c9e302773 100644 --- a/src/auditordb/pg_insert_wire_auditor_progress.c +++ b/src/auditordb/pg_insert_wire_auditor_progress.c @@ -1,6 +1,6 @@ /* This file is part of TALER - Copyright (C) 2022 Taler Systems SA + Copyright (C) 2022-2023 Taler Systems SA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -35,8 +35,9 @@ TAH_PG_insert_wire_auditor_progress ( struct PostgresClosure *pg = cls; struct GNUNET_PQ_QueryParam params[] = { GNUNET_PQ_query_param_auto_from_type (master_pub), - GNUNET_PQ_query_param_timestamp (&pp->last_timestamp), GNUNET_PQ_query_param_uint64 (&pp->last_reserve_close_uuid), + GNUNET_PQ_query_param_uint64 (&pp->last_batch_deposit_uuid), + GNUNET_PQ_query_param_uint64 (&pp->last_aggregation_serial), GNUNET_PQ_query_param_end }; @@ -44,9 +45,10 @@ TAH_PG_insert_wire_auditor_progress ( "wire_auditor_progress_insert", "INSERT INTO wire_auditor_progress " "(master_pub" - ",last_timestamp" ",last_reserve_close_uuid" - ") VALUES ($1,$2,$3);"); + ",last_batch_deposit_uuid" + ",last_aggregation_serial" + ") VALUES ($1,$2,$3,$4);"); return GNUNET_PQ_eval_prepared_non_select (pg->conn, "wire_auditor_progress_insert", params); |