aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-08-21postgres does not like 0-padding of VARCHAR, implement proper serializationChristian Grothoff
2023-08-21extend libtalerpq with functions for the amount with currency triplet data ↵Christian Grothoff
type (for merchant backend)
2023-08-21-use reset-tables on sandboxChristian Grothoff
2023-08-21-use reset-tables on nexusChristian Grothoff
2023-08-21shellcheck fixesChristian Grothoff
2023-08-21-use /home/grothoff instead of ~Christian Grothoff
2023-08-12fix missing '$'Christian Grothoff
2023-08-12-.pot may not existChristian Grothoff
2023-08-12-fix -l optionChristian Grothoff
2023-08-11-update tos generator logic, fix bugChristian Grothoff
2023-08-11allow -h without rootChristian Grothoff
2023-08-11add STEFAN support to exchangeChristian Grothoff
2023-08-11add taler-exchange-dbconfig and taler-auditor-dbconfigChristian Grothoff
2023-08-03document unit in --help textChristian Grothoff
2023-08-02Merge branch 'master' of git+ssh://git.taler.net/exchangeChristian Grothoff
2023-08-02attempt to fix signal/cleanup raceChristian Grothoff
2023-08-01amount-specific functions, not proceduresÖzgür Kesim
2023-07-31-missing -lgnunetpqv0.9.3-dev.6Florian Dold
2023-07-31make sure gana files are built from pinned submoduleFlorian Dold
Previously the bootstrap script would always pull and build from the latest gana.git master, which led to unreproducible builds, and broke building older tags of the exchange from git when gana did a breaking change.
2023-07-30add missing prepared statementsChristian Grothoff
2023-07-30remove wrap_size, obsoleteChristian Grothoff
2023-07-30remove pre-array batch reserves-in insertion logicChristian Grothoff
2023-07-30misc bug fixes in batch insertChristian Grothoff
2023-07-30unify to TEXT instead of mixing TEXT and VARCHARChristian Grothoff
2023-07-30-remove silly commentChristian Grothoff
2023-07-30-remove _tuple suffixChristian Grothoff
2023-07-30removing old amount logic from libtalerpqChristian Grothoff
2023-07-30migrating auditordb to use amount tuplesChristian Grothoff
2023-07-30-fix typosÖzgür Kesim
2023-07-30[pq] use GNUNET_PQ_get_oid_by_name consistentlyÖzgür Kesim
2023-07-29dceChristian Grothoff
2023-07-29migration to new amount style for exchangedbChristian Grothoff
2023-07-29[pq] added array support for taler_amount composite typeÖzgür Kesim
API added: - TALER_PQ_query_param_array_amount - TALER_PQ_result_spec_array_amount
2023-07-28Merge branch 'new-amount' - reserves now has taler_mountÖzgür Kesim
2023-07-28taler_amount type introduced in reserves table and corresponding functionsÖzgür Kesim
- current_balance is now a taler_amount - all C-functions, SQL-statements and stored procedures adjusted accordingly. => make check passes all tests in testing.
2023-07-28more jdbc: fixesChristian Grothoff
2023-07-28-no more jdbc in libeufinChristian Grothoff
2023-07-28FAILING attempt to make echange.reserve use taler_amountÖzgür Kesim
Fails with > TALER_PREFIX=/usr/local ./test-exchangedb-postgres 2023-07-28T19:02:25.150845+0200 /home/oec/projects/taler/exchange/src/exchangedb/.libs/test-exchangedb-postgres-2559159 WARNING Could not run PSQL on file /usr/local/share/taler//sql/exchange/drop.sql: psql exit code was 3 2023-07-28T19:02:32.488085+0200 pq-2559159 ERROR Query `call_withdraw' failed with result: invalid input syntax for type bigint: "(1,1000)"/(null)/ERROR: invalid input syntax for type bigint: "(1,1000)" CONTEXT: PL/pgSQL function exchange_do_withdraw(bytea,taler_amount,bytea,bytea,bytea,bytea,bytea,bigint,bigint,boolean) line 23 at SQL statement /PGRES_FATAL_ERROR/ERROR: invalid input syntax for type bigint: "(1,1000)" CONTEXT: PL/pgSQL function exchange_do_withdraw(bytea,taler_amount,bytea,bytea,bytea,bytea,bytea,bigint,bigint,boolean) line 23 at SQL statement 2023-07-28T19:02:32.488146+0200 /home/oec/projects/taler/exchange/src/exchangedb/.libs/test-exchangedb-postgres-2559159 ERROR Assertion failed at test_exchangedb.c:1428.
2023-07-28Merge branch 'new-amount', lookup OIDs for compositesÖzgür Kesim
2023-07-28-ignoreChristian Grothoff
2023-07-28[pq] added helper to load oids of composite typesÖzgür Kesim
- TALER_PQ_load_oids_for_composite_types added - Called during postgres-initialization
2023-07-28finalize v3/v4 -> v2 exchange schema mergerÖzgür Kesim
2023-07-28finalize v3/v4 -> v2 exchange schema mergerÖzgür Kesim
2023-07-28Merge branch 'master' of ssh://git.taler.net/exchangeÖzgür Kesim
2023-07-28-added pq_common.hÖzgür Kesim
2023-07-28combine v3 and v4 of exchange schema into v2 due to major incompatible tuple ↵Christian Grothoff
change forthcoming
2023-07-28-fix type defsChristian Grothoff
2023-07-27[WiP] added TALER_AMOUNT type to Postgres - first in age_withdrawÖzgür Kesim
- Added a type TALER_AMOUNT (val INT8, frac INT4) to Postgres. - Added PLSQL functions/procedures - amount_normalize(a) - amount_add(a, b) - amount_left_minus_right(l, r, diff, ok bool) - Added PQ-helper functions - TALER_PQ_query_param_amount_tuple() - TALER_PQ_result_spec_amount_tuple() - In table 'age_withdraw', changed fields 'amount_with_fee_val' and '..._frac' into single field 'amount_with_fee' be of type TALER_AMOUNT - Changed functions/stored procedures 'do_age_withdraw' and 'get_age_withdraw' to use new APIs. => make check runs through without errors, age-withdraw and -reveal test passes.
2023-07-26-fix typosÖzgür Kesim
2023-07-26[age-withdraw] reveal works, tested.Özgür Kesim
Tests for age-withdraw and the reveal now work for both, RSA and CS.