-unversion stored procedures, always load latest ones

This commit is contained in:
Christian Grothoff 2022-07-24 13:30:33 +02:00
parent 977ddd7bb9
commit 40858f0952
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
5 changed files with 2288 additions and 2257 deletions

View File

@ -1,6 +1,6 @@
/*
This file is part of TALER
Copyright (C) 2014-2021 Taler Systems SA
Copyright (C) 2014-2022 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

View File

@ -27,6 +27,7 @@ sql_DATA = \
versioning.sql \
exchange-0001.sql \
drop.sql \
procedures.sql \
shard-0001.sql \
shard-drop.sql
@ -35,6 +36,7 @@ BUILT_SOURCES = \
shard-0001.sql \
exchange-0001.sql \
drop.sql \
procedures.sql \
shard-drop.sql
CLEANFILES = \

File diff suppressed because it is too large Load Diff

View File

@ -240,6 +240,7 @@ postgres_create_tables (void *cls)
{
struct PostgresClosure *pg = cls;
struct GNUNET_PQ_Context *conn;
enum GNUNET_GenericReturnValue ret;
conn = GNUNET_PQ_connect_with_cfg (pg->cfg,
"exchangedb-postgres",
@ -248,8 +249,10 @@ postgres_create_tables (void *cls)
NULL);
if (NULL == conn)
return GNUNET_SYSERR;
ret = GNUNET_PQ_exec_sql (conn,
"procedures");
GNUNET_PQ_disconnect (conn);
return GNUNET_OK;
return ret;
}

File diff suppressed because it is too large Load Diff