clean up
This commit is contained in:
parent
6bf2771f1c
commit
eddc8127a1
11 changed files with 40 additions and 165 deletions
21
src/pg.ml
21
src/pg.ml
|
|
@ -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, \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue