diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2023-07-28 16:19:21 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2023-07-28 16:19:21 +0200 |
commit | 94e5193bffd5b2107710ba4fab0405ba22ea6dcf (patch) | |
tree | 03204300c92e44808e86ad86ccb6872d15b0b0a0 /src/pq/test_pq.c | |
parent | 1c923855a31b35e28706ba2fafa2d2bccc7ee775 (diff) | |
download | exchange-94e5193bffd5b2107710ba4fab0405ba22ea6dcf.tar.xz |
[pq] added helper to load oids of composite types
- TALER_PQ_load_oids_for_composite_types added
- Called during postgres-initialization
Diffstat (limited to 'src/pq/test_pq.c')
-rw-r--r-- | src/pq/test_pq.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/pq/test_pq.c b/src/pq/test_pq.c index a944cb1e0..9f18e7675 100644 --- a/src/pq/test_pq.c +++ b/src/pq/test_pq.c @@ -194,6 +194,16 @@ main (int argc, GNUNET_PQ_disconnect (conn); return 1; } + + ret = TALER_PQ_load_oids_for_composite_types (conn); + if (GNUNET_OK != ret) + { + fprintf (stderr, + "Failed to load oids for composites\n"); + GNUNET_PQ_disconnect (conn); + return 1; + } + ret = run_queries (conn); { struct GNUNET_PQ_ExecuteStatement ds[] = { |