This commit is contained in:
swrup 2026-02-16 17:55:21 +01:00
parent 6bf2771f1c
commit eddc8127a1
11 changed files with 40 additions and 165 deletions

View file

@ -1,21 +1,13 @@
(* TODO
check there is no issues with signed/unsigned integers
how to fix postgres/caqti tuple type?
try something with OID?
need to add boilerplate in each query for amounts
GNU Taler db-events?
it seems caqti/pgx does not support it
check signed/unsigned ints
check endianness
can we avoid amount tuple boilerplate?
clean up caqti error type
transaction
should check validity of signatures got from db, for /management at least
clean up caqti error type *)
(* TODO time
fix comparison with timestamp footgun *)
GNU Taler use of db-events?
it seems caqti/pgx does not support it *)
module type CONN = Caqti_miou.CONNECTION
@ -330,7 +322,6 @@ let update_wire =
let disable_wire =
let disable_wire =
(* TODO check syntax on this *)
Caqti_type.(t2 payto_uri time ->. unit)
"UPDATE wire_accounts SET conversion_url=NULL, debit_restrictions=NULL, \
credit_restrictions=NULL, master_sig=NULL, bank_label=NULL, \