-unversion stored procedures, always load latest ones
This commit is contained in:
parent
977ddd7bb9
commit
40858f0952
@ -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
|
||||
|
@ -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
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
2281
src/exchangedb/procedures.sql
Normal file
2281
src/exchangedb/procedures.sql
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user